mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +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
|