From f5a3a26dae9827c8b2a27ade788f1245c68808c0 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 16 Sep 2023 14:36:53 -0500 Subject: [PATCH] tsconfig: fix third-party types --- tsconfig.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 9d426c391..14215616d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,9 +12,14 @@ "moduleResolution": "node", "resolveJsonModule": true, "esModuleInterop": true, - "typeRoots": [ "./types", "./node_modules/@types"], + "typeRoots": [ + "./types", + "./node_modules/@types", + "./node_modules" + ], "types": [ "vite/client", + "vitest/globals", "vite-plugin-compile-time/client" ] },