mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
13 lines
235 B
TypeScript
13 lines
235 B
TypeScript
// @Filename: foo1.ts
|
|
export function x(){
|
|
return true;
|
|
}
|
|
|
|
// @Filename: foo2.ts
|
|
import foo1 = require('./foo1');
|
|
var x = foo1.x;
|
|
export = x;
|
|
|
|
// @Filename: foo3.ts
|
|
import foo2 = require('./foo2');
|
|
var x = foo2(); // should be boolean
|