2015-06-24 18:33:49 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////interface I {
|
|
|
|
//// propertyOfI_1: number;
|
|
|
|
//// propertyOfI_2: string;
|
|
|
|
////}
|
|
|
|
////interface J {
|
|
|
|
//// property1: I;
|
|
|
|
//// property2: string;
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////var foo: J;
|
|
|
|
////var { property1: { /**/ } } = foo;
|
|
|
|
|
|
|
|
goTo.marker();
|
|
|
|
verify.completionListContains("propertyOfI_1");
|
|
|
|
verify.completionListContains("propertyOfI_2");
|
2015-07-01 22:25:51 +02:00
|
|
|
verify.not.completionListContains("property2");
|
|
|
|
verify.not.completionListAllowsNewIdentifier();
|