flow2schema/tests/samples/shadowing.js

17 lines
183 B
JavaScript

type X = {
x: Buffer,
};
(function () {
interface Buffer {}
type Y = {
y: Buffer,
};
// TODO: replace with commonjs.
export {Y};
})();
export {X};