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

Merged
ghost merged 1 commits from fix/restore-vite-client-types into main 2026-03-15 16:06:02 +00:00

1 Commits

Author SHA1 Message Date
gandalf-the-greybeard[bot] 169bc5802f 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>
2026-03-15 15:49:58 +00:00