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