mirror of
https://github.com/swc-project/swc.git
synced 2024-12-03 00:54:25 +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
|