TypeScript/tests/cases/fourslash/quickInfoWithNestedDestructuredParameterInLambda.ts
Sheetal Nandi 7d049c2742 Write property name of destructuring pattern explicitly
There wont be any symbol for the property name but we already know it is a property name
Fixes #12166
2016-12-06 11:42:44 -08:00

16 lines
456 B
TypeScript

/// <reference path='fourslash.ts' />
// @filename: a.tsx
////import * as React from 'react';
////interface SomeInterface {
//// someBoolean: boolean,
//// someString: string;
////}
////interface SomeProps {
//// someProp: SomeInterface;
////}
////export const /*1*/SomeStatelessComponent = ({someProp: { someBoolean, someString}}: SomeProps) => (<div>{`${someBoolean}${someString}`});
goTo.marker("1");
verify.quickInfoExists();