Add tests for nested destructuring

This commit is contained in:
Ryohei Ikegami
2015-10-27 09:49:44 -07:00
committed by Mohamed Hegazy
parent 0caac5fa97
commit 60572bad94
@@ -0,0 +1,10 @@
/// <reference path='fourslash.ts'/>
////[[{foo: 'hello', bar: [1]}]]
//// .map(([{foo, bar: [baz]}]) => /*1*/foo + /*2*/baz);
goTo.marker('1');
verify.quickInfoIs('var foo: string');
goTo.marker('2');
verify.quickInfoIs('var baz: number');