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

16 lines
618 B
Plaintext

=== tests/cases/compiler/typeParametersInStaticMethods.ts ===
class foo<T> {
>foo : Symbol(foo, Decl(typeParametersInStaticMethods.ts, 0, 0))
>T : Symbol(T, Decl(typeParametersInStaticMethods.ts, 0, 10))
static M(x: (x: T) => { x: { y: T } }) {
>M : Symbol(foo.M, Decl(typeParametersInStaticMethods.ts, 0, 14))
>x : Symbol(x, Decl(typeParametersInStaticMethods.ts, 1, 13))
>x : Symbol(x, Decl(typeParametersInStaticMethods.ts, 1, 17))
>T : Symbol(T)
>x : Symbol(x, Decl(typeParametersInStaticMethods.ts, 1, 27))
>y : Symbol(y, Decl(typeParametersInStaticMethods.ts, 1, 32))
>T : Symbol(T)
}
}