TypeScript/tests/cases/fourslash/completionListInObjectBindingPattern05.ts
2015-07-01 13:25:51 -07:00

13 lines
289 B
TypeScript

/// <reference path='fourslash.ts'/>
////interface I {
//// property1: number;
//// property2: string;
////}
////
////var foo: I;
////var { property1/**/ } = foo;
goTo.marker();
verify.completionListContains("property1");
verify.not.completionListAllowsNewIdentifier();