TypeScript/tests/cases/fourslash/completionsSelfDeclaring2.ts
2019-12-19 16:05:23 -06:00

19 lines
278 B
TypeScript

/// <reference path="fourslash.ts" />
////function f1<T>(x: T) {}
////f1({ abc/*1*/ });
////
////function f2<T extends { xyz: number }>(x: T) {}
////f2({ x/*2*/ });
verify.completions({
marker: "1",
exact: []
});
verify.completions({
marker: "2",
exact: ["xyz"]
});