summaryrefslogtreecommitdiff
path: root/packages/integrations/react
diff options
context:
space:
mode:
authorGravatar Erika <3019731+Princesseuh@users.noreply.github.com> 2022-10-12 15:11:25 -0300
committerGravatar GitHub <noreply@github.com> 2022-10-12 15:11:25 -0300
commit0ea6187f95f68d1a3ed98ef4d660e71206883bac (patch)
tree65e74ac43e8d70baa08d93850aa8ea0101154b4e /packages/integrations/react
parenta5e3ecc8039c1e115ce5597362e18cd35d04e40b (diff)
downloadastro-0ea6187f95f68d1a3ed98ef4d660e71206883bac.tar.gz
astro-0ea6187f95f68d1a3ed98ef4d660e71206883bac.tar.zst
astro-0ea6187f95f68d1a3ed98ef4d660e71206883bac.zip
Added support for updating tsconfig.json when using astro add (#4959)
* Added support for updating tsconfig.json when using astro add * Refactor * Remove unneeded change * Fix build failling due to type difference * Extend changeset description
Diffstat (limited to 'packages/integrations/react')
-rw-r--r--packages/integrations/react/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json
index 7b7b7644f..980752eec 100644
--- a/packages/integrations/react/package.json
+++ b/packages/integrations/react/package.json
@@ -47,7 +47,8 @@
},
"peerDependencies": {
"react": "^17.0.2 || ^18.0.0",
- "react-dom": "^17.0.2 || ^18.0.0"
+ "react-dom": "^17.0.2 || ^18.0.0",
+ "@types/react": "^17.0.50 || ^18.0.21"
},
"engines": {
"node": "^14.18.0 || >=16.12.0"