TypeScript/tests/baselines/reference/checkJsFiles7.types

26 lines
392 B
Plaintext

=== tests/cases/compiler/a.js ===
class C {
>C : C
constructor() {
/** @type {boolean} */
this.a = true;
>this.a = true : true
>this.a : boolean
>this : this
>a : boolean
>true : true
this.a = !!this.a;
>this.a = !!this.a : boolean
>this.a : boolean
>this : this
>a : boolean
>!!this.a : boolean
>!this.a : boolean
>this.a : true
>this : this
>a : true
}
}