a4f9bf0fce
* Create type aliases for unresolved type symbols * Accept new baselines * Update fourslash tests * Unresolved import aliases create tagged unresolved symbols * Add comments * Accept new baselines * Add fourslash tests
30 lines
382 B
Plaintext
30 lines
382 B
Plaintext
=== tests/cases/compiler/genericFunduleInModule.ts ===
|
|
module A {
|
|
>A : typeof A
|
|
|
|
export function B<T>(x: T) { return x; }
|
|
>B : typeof B
|
|
>x : T
|
|
>x : T
|
|
|
|
export module B {
|
|
>B : typeof B
|
|
|
|
export var x = 1;
|
|
>x : number
|
|
>1 : 1
|
|
}
|
|
}
|
|
|
|
var b: A.B;
|
|
>b : A.B
|
|
>A : any
|
|
|
|
A.B(1);
|
|
>A.B(1) : 1
|
|
>A.B : typeof A.B
|
|
>A : typeof A
|
|
>B : typeof A.B
|
|
>1 : 1
|
|
|