浏览代码

fix: minor ts issues

alvarosabu 2 年之前
父节点
当前提交
144d0ba116
共有 2 个文件被更改,包括 3 次插入4 次删除
  1. 1 2
      package.json
  2. 2 2
      packages/cientos/tsconfig.json

+ 1 - 2
package.json

@@ -4,8 +4,7 @@
   "version": "1.0.0",
   "version": "1.0.0",
   "author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
   "author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
   "engines": {
   "engines": {
-    "npm": ">=8.0.0 <9.0.0",
-    "node": ">=16.0.0 <17.0.0"
+    "node": ">=16.0.0"
   },
   },
   "workspaces": [
   "workspaces": [
     "apps/**",
     "apps/**",

+ 2 - 2
packages/cientos/tsconfig.json

@@ -10,10 +10,10 @@
     "resolveJsonModule": true,
     "resolveJsonModule": true,
     "esModuleInterop": true,
     "esModuleInterop": true,
     "lib": ["esnext", "dom"],
     "lib": ["esnext", "dom"],
-    "types": ["vite/client", "node"],
+    "types": ["vite/client", "node", "@tresjs/core"],
     "incremental": false,
     "incremental": false,
     "skipLibCheck": true,
     "skipLibCheck": true,
-    "noUnusedLocals": true,
+    "noUnusedLocals": false,
     "strictNullChecks": true,
     "strictNullChecks": true,
     "forceConsistentCasingInFileNames": true,
     "forceConsistentCasingInFileNames": true,
     "declaration": true,
     "declaration": true,