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",