Hello everyone!
Im trying to pass searchParams from page props to client component and wrap them inside URLSearchParams object (to have possibility to add / remove and parse to url string).
My goal is to avoid using Suspense and UseSearchParams (I want to have full page with disabled javascript).
But Im facing an issue with typescript.
Full code example is available here:
https://codesandbox.io/p/sandbox/recursing-wright-zzr26y
Do you have any idea how to solve TS error under app/ClientComponent.tsx (in example above, line 10):