mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
16 lines
186 B
TypeScript
16 lines
186 B
TypeScript
// @module: commonjs
|
|
// @target: ES5
|
|
|
|
// @filename: m1.ts
|
|
export default function foo() {
|
|
|
|
}
|
|
|
|
export default function bar() {
|
|
|
|
}
|
|
|
|
// @filename: m2.ts
|
|
import Entity from "./m1"
|
|
|
|
Entity(); |