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.
2 parents b2a871d + f7ba718 commit 379ca11Copy full SHA for 379ca11
tests/cases/fourslash/completionListInObjectBindingPattern13.ts
@@ -0,0 +1,19 @@
1
+/// <reference path='fourslash.ts'/>
2
+
3
+////interface I {
4
+//// x: number;
5
+//// y: string;
6
+//// z: boolean;
7
+////}
8
+////
9
+////interface J {
10
+//// x: string;
11
12
13
14
+////let { /**/ }: I | J = { x: 10 };
15
16
+goTo.marker();
17
+verify.completionListContains("x");
18
+verify.completionListContains("y");
19
+verify.not.completionListContains("z");
0 commit comments