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

24 lines
454 B
TypeScript

/// <reference path="fourslash.ts" />
////const foo = 0;
////interface I {
//// m(): void;
//// fo/*i*/
////}
////interface J { /*j*/ }
////interface K { f; /*k*/ }
////type T = { fo/*t*/ };
////type U = { /*u*/ };
////interface EndOfFile { f; /*e*/
verify.completions({
marker: test.markers(),
exact: {
name: "readonly",
sortText: completion.SortText.GlobalsOrKeywords
},
isNewIdentifierLocation: true
});