TypeScript/tests/cases/fourslash/parameterWithNestedDestructuring.ts
2016-09-13 11:49:01 -07:00

10 lines
205 B
TypeScript

/// <reference path='fourslash.ts'/>
////[[{foo: 'hello', bar: [1]}]]
//// .map(([{foo, bar: [baz]}]) => /*1*/foo + /*2*/baz);
verify.quickInfos({
1: "var foo: string",
2: "var baz: number"
});