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
20 lines
295 B
Plaintext
20 lines
295 B
Plaintext
=== tests/cases/compiler/genericMergedDeclarationUsingTypeParameter.ts ===
|
|
function foo<T extends U, U>(y: T, z: U) { return y; }
|
|
>foo : typeof foo
|
|
>y : T
|
|
>z : U
|
|
>y : T
|
|
|
|
module foo {
|
|
>foo : typeof foo
|
|
|
|
export var x: T;
|
|
>x : T
|
|
|
|
var y = <T>1;
|
|
>y : T
|
|
><T>1 : T
|
|
>1 : 1
|
|
}
|
|
|