swc/crates/swc_ecma_parser/tests/tsc/exportAndImport-es5-amd.ts

13 lines
171 B
TypeScript

//@module: amd
//@target: ES5
// @filename: m1.ts
export default function f1() {
}
// @filename: m2.ts
import f1 from "./m1";
export default function f2() {
f1();
}