TypeScript/tests/cases/fourslash/parameterWithNestedDestructuring.ts

10 lines
205 B
TypeScript
Raw Normal View History

2015-10-25 05:13:38 +01:00
/// <reference path='fourslash.ts'/>
////[[{foo: 'hello', bar: [1]}]]
//// .map(([{foo, bar: [baz]}]) => /*1*/foo + /*2*/baz);
2016-09-09 18:02:55 +02:00
verify.quickInfos({
1: "var foo: string",
2: "var baz: number"
});