mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
23 lines
378 B
TypeScript
23 lines
378 B
TypeScript
// @module: esnext, es2015, commonjs, amd, system, umd
|
|
// @filename: 0.ts
|
|
// @declaration: true
|
|
// @esModuleInterop: true
|
|
export const a = 1;
|
|
export const b = 2;
|
|
|
|
// @filename: 1.ts
|
|
export * as default from './0';
|
|
|
|
// @filename: 11.ts
|
|
import * as ns from './0';
|
|
export default ns;
|
|
|
|
// @filename: 2.ts
|
|
import foo from './1'
|
|
import foo1 from './11'
|
|
|
|
foo.a;
|
|
foo1.a;
|
|
|
|
foo.b;
|
|
foo1.b; |