From 9adfbf26d12713f179ecb5523182fc7aaa9b7c42 Mon Sep 17 00:00:00 2001 From: unadlib Date: Sun, 16 Feb 2025 10:05:16 +0800 Subject: [PATCH] fix(types): fix @types/react peerDependencies --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f0a3c8b..970afc9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "use-mutative", - "version": "1.2.0", + "version": "1.2.1", "description": "A hook to use Mutative as a React hook to efficient update react state immutable with mutable way", "main": "dist/index.cjs.js", "unpkg": "dist/index.umd.js", @@ -92,7 +92,7 @@ } }, "peerDependencies": { - "@types/react": "^16.8 || 18.0 || ^17.0 || ^19.0", + "@types/react": "^16.8 || ^17.0 || ^18.0 || ^19.0", "mutative": "^1.0", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0" }