9 lines
230 B
TypeScript
9 lines
230 B
TypeScript
|
//@module: commonjs
|
||
|
// @Filename: importInsideModule_file1.ts
|
||
|
export var x = 1;
|
||
|
|
||
|
// @Filename: importInsideModule_file2.ts
|
||
|
export module myModule {
|
||
|
import foo = require("importInsideModule_file1");
|
||
|
var a = foo.x;
|
||
|
}
|