Closed tomaszferens closed 9 months ago
I think React TypeScript types have changed recently to better work with server components (https://github.com/vercel/next.js/issues/42292) so the fix here is probably for me to update the return types this library declares. In the meanwhile, you can cast or ts-ignore this error.
I think React TypeScript types have changed recently to better work with server components (https://github.com/vercel/next.js/issues/42292) so the fix here is probably for me to update the return types this library declares. In the meanwhile, you can cast or ts-ignore this error.
Yeah I went with @ts-expect-error for now 🙏
I think React TypeScript types have changed recently to better work with server components (https://github.com/vercel/next.js/issues/42292) so the fix here is probably for me to update the return types this library declares. In the meanwhile, you can cast or ts-ignore this error.
Thanks for the answer, it helps me to solve the error
I'm getting an error for PanelResizeHandle when rendering an example from docs.
TS Error:
Code:
Stackblitz: https://stackblitz.com/edit/stackblitz-starters-zbzfr8?file=src%2Findex.tsx
Every package is up to date (latest):