From 196eeacaf4545c0b4a18704d2f4cb2c8be4f2668 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 18 Dec 2024 19:34:06 +0800 Subject: [PATCH] chore(deps): pin @types/react version to ~18.2.0 --- example/nextjs/package.json | 4 ++-- package.json | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/example/nextjs/package.json b/example/nextjs/package.json index 5f77d8982..c8eb95f59 100644 --- a/example/nextjs/package.json +++ b/example/nextjs/package.json @@ -15,8 +15,8 @@ }, "devDependencies": { "@types/node": "^20", - "@types/react": "^18", - "@types/react-dom": "^18", + "@types/react": "~18.2.0", + "@types/react-dom": "~18.2.0", "@uiw/react-md-editor": "4.0.4", "autoprefixer": "^10.0.1", "eslint": "^8", diff --git a/package.json b/package.json index fd157ac52..ae4d65bc2 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,8 @@ "@kkt/less-modules": "^7.4.9", "@kkt/ncc": "^1.0.14", "@types/react-test-renderer": "~18.0.0", + "@types/react": "~18.2.0", + "@types/react-dom": "~18.2.0", "compile-less-cli": "~1.9.0", "husky": "~8.0.0", "kkt": "^7.4.9",