fix: add @types/react and @types/react-dom to resolve TypeScript errors

PR #37 removed vite/client from tsconfig types which broke React.Component
typing since vite/client provided React type definitions. Adding explicit
@types/react and @types/react-dom devDependencies is the correct fix as the
plugin doesn't directly depend on vite.

Fixes: TypeScript check failing on main (5 errors in PolarisErrorBoundary)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
gandalf-the-greybeard[bot]
2026-03-15 15:49:58 +00:00
parent daf0ebbff5
commit 169bc5802f
2 changed files with 137 additions and 37 deletions
+2
View File
@@ -37,6 +37,8 @@
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"jsdom": "^24.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",