TypeScript/tests/baselines/reference/defaultNamedExportWithType2.js

10 lines
173 B
TypeScript

//// [defaultNamedExportWithType2.ts]
type Foo = number;
const Foo = 1;
export default Foo;
//// [defaultNamedExportWithType2.js]
const Foo = 1;
export default Foo;