Skip to content

Commit f7f9bd1

Browse files
committed
Add tests for nested destructuring
1 parent 3b23ab5 commit f7f9bd1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/// <reference path='fourslash.ts'/>
2+
3+
////[[{foo: 'hello', bar: [1]}]]
4+
//// .map(([{foo, bar: [baz]}]) => /*1*/foo + /*2*/baz);
5+
6+
goTo.marker('1');
7+
verify.quickInfoIs('var foo: string');
8+
9+
goTo.marker('2');
10+
verify.quickInfoIs('var baz: number');

0 commit comments

Comments
 (0)