diff --git a/dev-packages/type-check/run-type-check.sh b/dev-packages/type-check/run-type-check.sh index 0060cd914b..041cf231e8 100755 --- a/dev-packages/type-check/run-type-check.sh +++ b/dev-packages/type-check/run-type-check.sh @@ -14,6 +14,9 @@ yalc add @sentry/react-native yarn install +echo "Removing duplicate React types..." +rm -rf ./node_modules/@types/react-native/node_modules/@types/react + yarn type-check rm yarn.lock