Skip to content

Commit 63fca0b

Browse files
authored
fix(language-core): disable lib check on global types file (#4767)
1 parent 8bc2416 commit 63fca0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/language-core/lib/codegen/globalTypes.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import { getSlotsPropertyName } from '../utils/shared';
22

33
export function generateGlobalTypes(lib: string, target: number, strictTemplates: boolean) {
44
const fnPropsType = `(K extends { $props: infer Props } ? Props : any)${strictTemplates ? '' : ' & Record<string, unknown>'}`;
5-
return `
5+
return `// @ts-nocheck
6+
67
const __VLS_globalComponents = { ...{} as import('${lib}').GlobalComponents };
78
89
declare const __VLS_intrinsicElements: __VLS_IntrinsicElements;

0 commit comments

Comments
 (0)