TypeScript/tests/baselines/reference/typeParametersInStaticMethods.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

13 lines
270 B
Plaintext

=== tests/cases/compiler/typeParametersInStaticMethods.ts ===
class foo<T> {
>foo : foo<T>
static M(x: (x: T) => { x: { y: T } }) {
>M : (x: (x: T) => { x: { y: T;}; }) => void
>x : (x: T) => { x: { y: T;}; }
>x : T
>x : { y: T; }
>y : T
}
}