30 lines
1.3 KiB
Text
30 lines
1.3 KiB
Text
=== tests/cases/compiler/internalAliasFunctionInsideLocalModuleWithoutExport.ts ===
|
|
export module a {
|
|
>a : Symbol(a, Decl(internalAliasFunctionInsideLocalModuleWithoutExport.ts, 0, 0))
|
|
|
|
export function foo(x: number) {
|
|
>foo : Symbol(foo, Decl(internalAliasFunctionInsideLocalModuleWithoutExport.ts, 0, 17))
|
|
>x : Symbol(x, Decl(internalAliasFunctionInsideLocalModuleWithoutExport.ts, 1, 24))
|
|
|
|
return x;
|
|
>x : Symbol(x, Decl(internalAliasFunctionInsideLocalModuleWithoutExport.ts, 1, 24))
|
|
}
|
|
}
|
|
|
|
export module c {
|
|
>c : Symbol(c, Decl(internalAliasFunctionInsideLocalModuleWithoutExport.ts, 4, 1))
|
|
|
|
import b = a.foo;
|
|
>b : Symbol(b, Decl(internalAliasFunctionInsideLocalModuleWithoutExport.ts, 6, 17))
|
|
>a : Symbol(a, Decl(internalAliasFunctionInsideLocalModuleWithoutExport.ts, 0, 0))
|
|
>foo : Symbol(b, Decl(internalAliasFunctionInsideLocalModuleWithoutExport.ts, 0, 17))
|
|
|
|
var bVal = b(10);
|
|
>bVal : Symbol(bVal, Decl(internalAliasFunctionInsideLocalModuleWithoutExport.ts, 8, 7))
|
|
>b : Symbol(b, Decl(internalAliasFunctionInsideLocalModuleWithoutExport.ts, 6, 17))
|
|
|
|
export var bVal2 = b;
|
|
>bVal2 : Symbol(bVal2, Decl(internalAliasFunctionInsideLocalModuleWithoutExport.ts, 9, 14))
|
|
>b : Symbol(b, Decl(internalAliasFunctionInsideLocalModuleWithoutExport.ts, 6, 17))
|
|
}
|
|
|