diff --git a/packages/ui/certd-client/package.json b/packages/ui/certd-client/package.json index 96102fd4f..1dd005996 100644 --- a/packages/ui/certd-client/package.json +++ b/packages/ui/certd-client/package.json @@ -14,7 +14,8 @@ "preview": "vite preview", "pretty-quick": "pretty-quick", "lint-fix": "eslint --fix --ext .js --ext .jsx --ext .vue src/", - "upgrade": "yarn upgrade-interactive --latest" + "upgrade": "yarn upgrade-interactive --latest", + "tsc": "vue-tsc --noEmit --skipLibCheck" }, "author": "Greper", "license": "MIT", @@ -102,7 +103,8 @@ "vite-plugin-theme": "^0.8.1", "vite-plugin-windicss": "^1.8.10", "vue-eslint-parser": "^9.1.0", - "windicss": "^3.5.6" + "windicss": "^3.5.6", + "vue-tsc": "^0.40.13" }, "husky": { "hooks": { diff --git a/packages/ui/certd-client/tsconfig.json b/packages/ui/certd-client/tsconfig.json index 3fb89b64f..3ce206ec1 100644 --- a/packages/ui/certd-client/tsconfig.json +++ b/packages/ui/certd-client/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { // 这样就可以对 `this` 上的数据属性进行更严格的推断` - "noImplicitAny": false, + "noImplicitAny": true, "target": "esnext", "module": "esnext", "strict": true,