TypeScript/tests/cases/fourslash/goToDefinitionObjectBindingElementPropertyName01.ts

12 lines
240 B
TypeScript
Raw Normal View History

2015-06-25 17:59:45 +02:00
/// <reference path='fourslash.ts'/>
////interface I {
//// /*def*/property1: number;
//// property2: string;
////}
////
////var foo: I;
2017-10-19 00:49:46 +02:00
////var { [|/*use*/property1|]: prop1 } = foo;
2015-06-25 17:59:45 +02:00
2016-08-29 22:34:32 +02:00
verify.goToDefinition("use", "def");