We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abebf15 commit bcc1d2aCopy full SHA for bcc1d2a
tests/baselines/reference/definiteAssignmentOfDestructuredVariable.types
@@ -18,20 +18,20 @@ class C<T extends Options> {
18
>method : () => void
19
20
let { a, b } = this.foo;
21
->a : { [P in keyof T]: T[P]; }["a"]
22
->b : { [P in keyof T]: T[P]; }["b"]
+>a : T["a"]
+>b : T["b"]
23
>this.foo : { [P in keyof T]: T[P]; }
24
>this : this
25
>foo : { [P in keyof T]: T[P]; }
26
27
!(a && b);
28
>!(a && b) : false
29
->(a && b) : { [P in keyof T]: T[P]; }["b"]
30
->a && b : { [P in keyof T]: T[P]; }["b"]
31
32
+>(a && b) : T["b"]
+>a && b : T["b"]
33
34
a;
35
36
}
37
0 commit comments