/// ////interface I { //// [s: string]: TString; //// [s: number]: TNumber; ////} //// ////declare function foo(obj: I): { str: TStr/*1*/ } goTo.marker("1"); verify.completionListContains("I"); verify.completionListContains("TString"); verify.completionListContains("TNumber"); // REVIEW: Is this intended behavior? // Ideally the following shouldn't show up since they're not types. verify.not.completionListContains("foo"); verify.not.completionListContains("obj");