* 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
18 lines
260 B
Plaintext
18 lines
260 B
Plaintext
=== tests/cases/compiler/genericMergedDeclarationUsingTypeParameter2.ts ===
|
|
class foo<T> { constructor(x: T) { } }
|
|
>foo : foo<T>
|
|
>x : T
|
|
|
|
module foo {
|
|
>foo : typeof foo
|
|
|
|
export var x: T;
|
|
>x : T
|
|
|
|
var y = <T>1;
|
|
>y : T
|
|
><T>1 : T
|
|
>1 : 1
|
|
}
|
|
|