Add tests for nested destructuring

This commit is contained in:
Ryohei Ikegami 2015-10-25 13:13:38 +09:00
parent 3b23ab5fb7
commit f7f9bd1d24

View File

@ -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');