TypeScript/tests/cases/fourslash/completionListInUnclosedObjectTypeLiteralInSignature04.ts
2019-05-20 15:53:51 -07:00

15 lines
398 B
TypeScript

/// <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
});