mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +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
|