diff --git a/packages/language-core/lib/codegen/script/globalTypes.ts b/packages/language-core/lib/codegen/script/globalTypes.ts index 5c2a3754dd..d2c97869f7 100644 --- a/packages/language-core/lib/codegen/script/globalTypes.ts +++ b/packages/language-core/lib/codegen/script/globalTypes.ts @@ -131,8 +131,7 @@ declare global { type __VLS_PrettifyGlobal = { [K in keyof T]: T[K]; } & {}; type __VLS_PickRefsExpose = T extends object ? { [K in keyof T]: ('expose' extends keyof T[K] - // @ts-ignore - ? Parameters[0] + ? Parameters[0] : T[K] extends any[] ? Parameters[0][] : T[K]) | null }