mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +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
|