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

14 lines
344 B
TypeScript

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