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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user