8dbb2cd5fb
* allow `this` in typeQuery * add tests * get this type as expression * handle nested nodes * update baselines
13 lines
234 B
Plaintext
13 lines
234 B
Plaintext
=== tests/cases/conformance/types/specifyingTypes/typeQueries/typeofThisWithImplicitThis.ts ===
|
|
function Test1() {
|
|
>Test1 : () => void
|
|
|
|
let x: typeof this.no = 1
|
|
>x : any
|
|
>this.no : any
|
|
>this : any
|
|
>no : any
|
|
>1 : 1
|
|
}
|
|
|