40 lines
1.3 KiB
Text
40 lines
1.3 KiB
Text
=== tests/cases/compiler/cyclicModuleImport.ts ===
|
|
declare module "SubModule" {
|
|
import MainModule = require('MainModule');
|
|
>MainModule : Symbol(MainModule, Decl(cyclicModuleImport.ts, 0, 28))
|
|
|
|
class SubModule {
|
|
>SubModule : Symbol(SubModule, Decl(cyclicModuleImport.ts, 1, 46))
|
|
|
|
public static StaticVar: number;
|
|
>StaticVar : Symbol(SubModule.StaticVar, Decl(cyclicModuleImport.ts, 2, 21))
|
|
|
|
public InstanceVar: number;
|
|
>InstanceVar : Symbol(InstanceVar, Decl(cyclicModuleImport.ts, 3, 40))
|
|
|
|
public main: MainModule;
|
|
>main : Symbol(main, Decl(cyclicModuleImport.ts, 4, 35))
|
|
>MainModule : Symbol(MainModule, Decl(cyclicModuleImport.ts, 0, 28))
|
|
|
|
constructor();
|
|
}
|
|
export = SubModule;
|
|
>SubModule : Symbol(SubModule, Decl(cyclicModuleImport.ts, 1, 46))
|
|
}
|
|
declare module "MainModule" {
|
|
import SubModule = require('SubModule');
|
|
>SubModule : Symbol(SubModule, Decl(cyclicModuleImport.ts, 10, 29))
|
|
|
|
class MainModule {
|
|
>MainModule : Symbol(MainModule, Decl(cyclicModuleImport.ts, 11, 44))
|
|
|
|
public SubModule: SubModule;
|
|
>SubModule : Symbol(SubModule, Decl(cyclicModuleImport.ts, 12, 22))
|
|
>SubModule : Symbol(SubModule, Decl(cyclicModuleImport.ts, 10, 29))
|
|
|
|
constructor();
|
|
}
|
|
export = MainModule;
|
|
>MainModule : Symbol(MainModule, Decl(cyclicModuleImport.ts, 11, 44))
|
|
}
|
|
|