浏览代码

🔧 chore(scripts): update typecheck script

- add --project . flag to tsc command for proper TypeScript configuration detection
yourname 2 月之前
父节点
当前提交
854d75e091
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -31,7 +31,7 @@
     "test:analyze": "node scripts/analyze-test-results.js",
     "lint": "eslint . --ext .ts,.tsx",
     "lint:fix": "eslint . --ext .ts,.tsx --fix",
-    "typecheck": "tsc --noEmit"
+    "typecheck": "tsc --noEmit --project ."
   },
   "dependencies": {
     "@ant-design/icons": "^6.0.0",