diff --git a/packages/create-app/template-preact-ts/tsconfig.json b/packages/create-app/template-preact-ts/tsconfig.json index c30002ead9e978..a748ee4d112a8c 100644 --- a/packages/create-app/template-preact-ts/tsconfig.json +++ b/packages/create-app/template-preact-ts/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "target": "ESNext", "lib": ["DOM", "DOM.Iterable", "ESNext"], - "types": [], + "types": ["vite/client"], "allowJs": false, "skipLibCheck": false, "esModuleInterop": false,