/// // Note: Giving the functions two parameters means that the checker cannot resolve their signatures normally, // so it makes a best guess. ////interface I { x: number; y: number; } //// ////declare function f(x: T, y: number): void; ////f({ /*f*/ }); //// ////declare function g(x: keyof T, y: number): void; ////g("/*g*/"); goTo.marker("f"); verify.completionListCount(2); verify.completionListContains("x"); verify.completionListContains("y"); goTo.marker("g"); verify.completionListContains("x"); verify.completionListContains("y"); verify.completionListCount(2);