TypeScript/tests/cases/fourslash/completionListInUnclosedObjectTypeLiteralInSignature04.ts

15 lines
398 B
TypeScript
Raw Normal View History

2015-03-17 08:05:34 +01:00
/// <reference path="fourslash.ts" />
////interface I<TString, TNumber> {
//// [s: string]: TString;
//// [s: number]: TNumber;
////}
////
////declare function foo<TString, TNumber>(obj: I<TString, TNumber>): { /*1*/
verify.completions({
marker: "1",
exact: { name: "readonly", sortText: completion.SortText.GlobalsOrKeywords } ,
isNewIdentifierLocation: true
});