mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 16:42:28 +03:00
9 lines
138 B
TypeScript
9 lines
138 B
TypeScript
|
// @Filename: foo1.ts
|
||
|
export function x(){
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
// @Filename: foo2.ts
|
||
|
import foo1 = require('./foo1');
|
||
|
export = foo1.x; // Ok
|