00cea41b65
Fixes #15024
22 lines
611 B
TypeScript
22 lines
611 B
TypeScript
/// <reference path="fourslash.ts" />
|
|
|
|
////function /*a*/ ;
|
|
////function* /*b*/ ;
|
|
////interface I {
|
|
//// abstract baseMethod(): Iterable<number>;
|
|
////}
|
|
////class C implements I {
|
|
//// */*c*/ ;
|
|
//// public */*d*/
|
|
////}
|
|
////const o: I = {
|
|
//// */*e*/
|
|
////};
|
|
////1 * /*f*/
|
|
|
|
verify.completions(
|
|
{ marker: ["a", "b"], exact: undefined, isNewIdentifierLocation: true },
|
|
{ marker: ["c", "d"], exact: ["baseMethod"], isNewIdentifierLocation: true },
|
|
{ marker: "e", exact: ["baseMethod"] },
|
|
{ marker: "f", includes: [{ name: "Number", sortText: completion.SortText.GlobalsOrKeywords }] },
|
|
);
|