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