TypeScript/tests/baselines/reference/typeofThisWithImplicitThis.symbols
Zzzen 8dbb2cd5fb
allow this in typeQuery (#43898)
* allow `this` in typeQuery

* add tests

* get this type as expression

* handle nested nodes

* update baselines
2021-06-17 07:52:20 -07:00

9 lines
281 B
Plaintext

=== tests/cases/conformance/types/specifyingTypes/typeQueries/typeofThisWithImplicitThis.ts ===
function Test1() {
>Test1 : Symbol(Test1, Decl(typeofThisWithImplicitThis.ts, 0, 0))
let x: typeof this.no = 1
>x : Symbol(x, Decl(typeofThisWithImplicitThis.ts, 1, 7))
}