mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
11 lines
158 B
TypeScript
11 lines
158 B
TypeScript
// @module: commonjs
|
|
// @Filename: foo1.ts
|
|
class x{}
|
|
|
|
export = x;
|
|
|
|
// @Filename: foo2.ts
|
|
import foo1 = require('./foo1');
|
|
var x = foo1;
|
|
class y extends x {}
|