Files
tsgo/testdata/baselines/reference/submodule/compiler/exportAssignmentWithoutAllowSyntheticDefaultImportsError.js

15 lines
262 B
TypeScript

//// [tests/cases/compiler/exportAssignmentWithoutAllowSyntheticDefaultImportsError.ts] ////
//// [bar.ts]
export = bar;
function bar() {}
//// [foo.ts]
import bar from './bar';
//// [bar.js]
function bar() { }
export {};
//// [foo.js]
export {};