mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
19 lines
212 B
TypeScript
19 lines
212 B
TypeScript
// @module: commonjs
|
|
// @target: ES5
|
|
|
|
// @filename: m1.ts
|
|
export default class foo {
|
|
|
|
}
|
|
|
|
export default function bar() {
|
|
|
|
}
|
|
|
|
var x = 10;
|
|
export default x;
|
|
|
|
// @filename: m2.ts
|
|
import Entity from "./m1"
|
|
|
|
Entity(); |