diff --git a/web/package.json b/web/package.json index 135dfb00..84d9a994 100644 --- a/web/package.json +++ b/web/package.json @@ -8,7 +8,8 @@ "build": "vite build && esno ./src/utils/build.ts", "lint": "eslint --ext .js,.jsx,.ts,.vue src", "lint-fix": "eslint --ext .js,.jsx,.ts,.vue src --fix", - "format": "npx prettier --write ." + "format": "npx prettier --write .", + "typecheck": "vue-tsc --noEmit" }, "dependencies": { "@element-plus/icons-vue": "2.3.1", @@ -48,6 +49,7 @@ "sass": "1.77.4", "typescript": "5.4.5", "vite": "5.2.12", - "vue-eslint-parser": "9.4.3" + "vue-eslint-parser": "9.4.3", + "vue-tsc": "^2.0.21" } } diff --git a/web/tsconfig.json b/web/tsconfig.json index 4d4e5b5d..7b52b4a4 100644 --- a/web/tsconfig.json +++ b/web/tsconfig.json @@ -13,6 +13,7 @@ "isolatedModules": true, "baseUrl": "./", "allowJs": true, + "skipLibCheck": true, "paths": { "/@/*": ["src/*"] },