From d0cb3d93df83c8535bce97f8f509b37c2e6ead86 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Tue, 27 Aug 2024 01:22:03 -0700 Subject: add react and react-dom types --- package.json | 2 ++ pnpm-lock.yaml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/package.json b/package.json index 4591358..46f1996 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,8 @@ "dependencies": { "@astrojs/check": "^0.9.3", "@astrojs/react": "^3.6.2", + "@types/react": "^18.3.4", + "@types/react-dom": "^18.3.0", "astro": "^4.14.5", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5a48851..6c4836f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,12 @@ importers: '@astrojs/react': specifier: ^3.6.2 version: 3.6.2(@types/react-dom@18.3.0)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@5.4.2) + '@types/react': + specifier: ^18.3.4 + version: 18.3.4 + '@types/react-dom': + specifier: ^18.3.0 + version: 18.3.0 astro: specifier: ^4.14.5 version: 4.14.5(rollup@4.21.1)(typescript@5.5.4) -- cgit v1.2.3