mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
17 lines
230 B
TypeScript
17 lines
230 B
TypeScript
// @module: commonjs
|
|
// @Filename: foo1.ts
|
|
class x{}
|
|
export = x;
|
|
|
|
// @Filename: foo2.ts
|
|
import foo1 = require('./foo1');
|
|
|
|
export = {
|
|
x: foo1
|
|
}
|
|
|
|
// @Filename: foo3.ts
|
|
import foo2 = require('./foo2')
|
|
class x extends foo2.x {}
|
|
|