From 854e1df4889f2038919a73e9840aae4476c8da8c Mon Sep 17 00:00:00 2001 From: AceDataCloud Date: Sat, 7 Jan 2023 00:01:29 +0800 Subject: [PATCH] fix class attr alert --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 1b42a0b8..47077c3d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,8 @@ "lib": ["esnext", "dom"], "paths": { "@/*": ["./src/*"] - } + }, + "types": ["vite/client"] }, "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"], "references": [{ "path": "./tsconfig.node.json" }]