32 lines
1.5 KiB
Text
32 lines
1.5 KiB
Text
=== tests/cases/compiler/internalAliasClassInsideTopLevelModuleWithExport.ts ===
|
|
export module x {
|
|
>x : Symbol(x, Decl(internalAliasClassInsideTopLevelModuleWithExport.ts, 0, 0))
|
|
|
|
export class c {
|
|
>c : Symbol(c, Decl(internalAliasClassInsideTopLevelModuleWithExport.ts, 0, 17))
|
|
|
|
foo(a: number) {
|
|
>foo : Symbol(foo, Decl(internalAliasClassInsideTopLevelModuleWithExport.ts, 1, 20))
|
|
>a : Symbol(a, Decl(internalAliasClassInsideTopLevelModuleWithExport.ts, 2, 12))
|
|
|
|
return a;
|
|
>a : Symbol(a, Decl(internalAliasClassInsideTopLevelModuleWithExport.ts, 2, 12))
|
|
}
|
|
}
|
|
}
|
|
|
|
export import xc = x.c;
|
|
>xc : Symbol(xc, Decl(internalAliasClassInsideTopLevelModuleWithExport.ts, 6, 1))
|
|
>x : Symbol(x, Decl(internalAliasClassInsideTopLevelModuleWithExport.ts, 0, 0))
|
|
>c : Symbol(xc, Decl(internalAliasClassInsideTopLevelModuleWithExport.ts, 0, 17))
|
|
|
|
export var cProp = new xc();
|
|
>cProp : Symbol(cProp, Decl(internalAliasClassInsideTopLevelModuleWithExport.ts, 9, 10))
|
|
>xc : Symbol(xc, Decl(internalAliasClassInsideTopLevelModuleWithExport.ts, 6, 1))
|
|
|
|
var cReturnVal = cProp.foo(10);
|
|
>cReturnVal : Symbol(cReturnVal, Decl(internalAliasClassInsideTopLevelModuleWithExport.ts, 10, 3))
|
|
>cProp.foo : Symbol(xc.foo, Decl(internalAliasClassInsideTopLevelModuleWithExport.ts, 1, 20))
|
|
>cProp : Symbol(cProp, Decl(internalAliasClassInsideTopLevelModuleWithExport.ts, 9, 10))
|
|
>foo : Symbol(xc.foo, Decl(internalAliasClassInsideTopLevelModuleWithExport.ts, 1, 20))
|
|
|