We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19cf57c commit a383fb4Copy full SHA for a383fb4
packages/vscode-vue-languageservice/src/utils/globalDoc.ts
@@ -79,7 +79,7 @@ declare global {
79
type __VLS_ExtractCompleteComponentProps<T> =
80
T extends new (...args: any) => { $props?: infer P1 } ? P1 & Omit<__VLS_GlobalAttrs, keyof P1> & Record<string, unknown>
81
: T extends FunctionalComponent<infer P2> ? P2 & JSX.IntrinsicAttributes & Record<string, unknown>
82
- : T & Omit<__VLS_GlobalAttrs, T> & Record<string, unknown>
+ : T & Omit<__VLS_GlobalAttrs, keyof T> & Record<string, unknown>
83
84
type __VLS_ExtractRawComponents<T> = { [K in keyof T]: __VLS_ExtractRawComponent<T[K]> };
85
type __VLS_ExtractRawComponent<T> = T extends { __VLS_raw: infer C } ? C : T;
0 commit comments