2015-06-24 00:13:11 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////interface I {
|
|
|
|
//// property1: number;
|
|
|
|
//// property2: string;
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////var foo: I;
|
|
|
|
////var { property1, /**/ } = foo;
|
|
|
|
|
|
|
|
goTo.marker();
|
2015-06-24 17:28:56 +02:00
|
|
|
verify.completionListContains("property2");
|
2015-07-01 22:25:51 +02:00
|
|
|
verify.not.completionListContains("property1");
|
|
|
|
verify.not.completionListAllowsNewIdentifier();
|