mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +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(); |