/// ////interface CustomElements { //// 'component-one': { //// foo?: string; //// }, //// 'component-two': { //// bar?: string; //// } ////} //// ////interface Options { //// props?: {} & { x: CustomElements[(T extends string ? T : never) & string][] }['x']; ////} //// ////declare function f(k: T, options: Options): void; //// ////f("component-one", { //// props: [{ //// /**/ //// }] ////}) verify.completions({ marker: "", exact: [{ name: "foo", sortText: completion.SortText.OptionalMember }] });