TypeScript/tests/baselines/reference/parserGenericsInVariableDeclaration1.types
Anders Hejlsberg a4f9bf0fce
Create type aliases for unresolved type symbols (#45976)
* 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
2021-09-23 13:21:27 -07:00

26 lines
394 B
Plaintext

=== tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInVariableDeclaration1.ts ===
var v : Foo<T> = 1;
>v : Foo<T>
>1 : 1
var v : Foo<T>= 1;
>v : Foo<T>
>1 : 1
var v : Foo<Bar<T>> = 1;
>v : Foo<T>
>1 : 1
var v : Foo<Bar<T>>= 1;
>v : Foo<T>
>1 : 1
var v : Foo<Bar<Quux<T>>> = 1;
>v : Foo<T>
>1 : 1
var v : Foo<Bar<Quux<T>>>= 1;
>v : Foo<T>
>1 : 1