From 8947a0e657fb4dd51713f7e4e7120481519b0297 Mon Sep 17 00:00:00 2001 From: William Belle Date: Fri, 28 Jun 2024 13:07:17 +0200 Subject: [PATCH] Fix missing peer dependency @types/react (#736) --- package.json | 1 + yarn.lock | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/package.json b/package.json index e1647165..f9e5c2a6 100644 --- a/package.json +++ b/package.json @@ -178,6 +178,7 @@ "@babel/eslint-parser": "^7.21.3", "@babel/preset-env": "^7.14.7", "@babel/preset-react": "^7.14.5", + "@types/react": "^18.3.3", "babel-loader": "^9.1.3", "backstopjs": "^6.1.3", "browser-sync": "^3.0.2", diff --git a/yarn.lock b/yarn.lock index 3c954e4e..ce75490c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1970,6 +1970,14 @@ "@types/scheduler" "*" csstype "^3.0.2" +"@types/react@^18.3.3": + version "18.3.3" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.3.tgz#9679020895318b0915d7a3ab004d92d33375c45f" + integrity sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw== + dependencies: + "@types/prop-types" "*" + csstype "^3.0.2" + "@types/scheduler@*": version "0.16.1" resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.1.tgz#18845205e86ff0038517aab7a18a62a6b9f71275"