mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
14 lines
203 B
TypeScript
14 lines
203 B
TypeScript
|
// @esModuleInterop: true
|
||
|
|
||
|
// @Filename: /a.ts
|
||
|
class A {}
|
||
|
export type { A }
|
||
|
|
||
|
// @Filename: /b.ts
|
||
|
import * as a from './a';
|
||
|
export = a;
|
||
|
|
||
|
// @Filename: /c.ts
|
||
|
import a = require('./b');
|
||
|
new a.A(); // Error
|