diff --git a/tsconfig.json b/tsconfig.json index 7a7c1601b4b258e70f258ba23ea8f4f725becd35..eaf5d61029e55216a2e2d2625da811179bb2adae 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,7 @@ "resolveJsonModule": true, "esModuleInterop": true, "lib": ["esnext", "dom"], + "typeRoots": ["./node_modules/@types", "./node_modules"], "types": ["vite/client", "@layui/layui-vue/types/components"], "baseUrl": "./", "paths": {