10 lines
173 B
TypeScript
10 lines
173 B
TypeScript
//// [defaultNamedExportWithType2.ts]
|
|
type Foo = number;
|
|
const Foo = 1;
|
|
export default Foo;
|
|
|
|
|
|
//// [defaultNamedExportWithType2.js]
|
|
const Foo = 1;
|
|
export default Foo;
|