From 5a1e41a7a37281c7a350681389a34bb329d1a66f Mon Sep 17 00:00:00 2001 From: haishan <710328466@qq.com> Date: Fri, 31 May 2024 18:09:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(tsconfig):=20=E4=BF=AE=E6=94=B9=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++- tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index bb02ed1..4bf720a 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,8 @@ "prettier-plugin-packagejson": "^2.2.18", "react": "^18.0.0", "react-dom": "^18.0.0", - "stylelint": "^14.9.1" + "stylelint": "^14.9.1", + "typescript": "5" }, "peerDependencies": { "react": ">=16.9.0", diff --git a/tsconfig.json b/tsconfig.json index 9d1dca1..ca6e806 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,7 +21,7 @@ "noUnusedLocals": true, "noImplicitAny": true, "module": "esnext", - "moduleResolution": "bundler", + "moduleResolution": "NodeNext", "isolatedModules": false, "target": "es6", "lib": ["dom", "es2017"],