8dbb2cd5fb
* allow `this` in typeQuery * add tests * get this type as expression * handle nested nodes * update baselines
11 lines
170 B
TypeScript
11 lines
170 B
TypeScript
//// [typeofThisWithImplicitThis.ts]
|
|
function Test1() {
|
|
let x: typeof this.no = 1
|
|
}
|
|
|
|
|
|
//// [typeofThisWithImplicitThis.js]
|
|
function Test1() {
|
|
var x = 1;
|
|
}
|