From 2bda1168504f38093da097e1ad9d43bd1ddffea8 Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 15 Aug 2024 13:44:26 +0800 Subject: [PATCH] chore: include node types for client --- src/client/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/tsconfig.json b/src/client/tsconfig.json index e450c883..ca0d2efd 100644 --- a/src/client/tsconfig.json +++ b/src/client/tsconfig.json @@ -5,7 +5,7 @@ "outDir": "../../dist/client", "declaration": true, "declarationDir": "../../dist/client-types", - "types": ["vite/client"], + "types": ["vite/client", "@types/node"], "paths": { "vitepress": ["index.ts"], "vitepress/theme": ["../../theme.d.ts"]