mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
15 lines
274 B
TypeScript
15 lines
274 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @target: es5
|
|
// @outDir: ./out
|
|
// @declaration: true
|
|
// @filename: cls.js
|
|
export default class Foo {}
|
|
|
|
// @filename: usage.js
|
|
import {default as Fooa} from "./cls";
|
|
|
|
export const x = new Fooa();
|
|
|
|
export {default as Foob} from "./cls";
|