mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
15 lines
184 B
TypeScript
15 lines
184 B
TypeScript
// @module: commonjs
|
|
// @target: ES5
|
|
|
|
// @filename: m1.ts
|
|
export default function f() {
|
|
}
|
|
export {f};
|
|
|
|
|
|
// @filename: m2.ts
|
|
import foo from "./m1";
|
|
import {f} from "./m1";
|
|
|
|
f();
|
|
foo(); |