TypeScript/tests/baselines/reference/defaultNamedExportWithType1.js

10 lines
187 B
TypeScript

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