Params typed incorrectly
I've seen a few discussions about this so it feels like a common error with a few different causes. Basically, if I have a route file called e.g.
...I get the error
What are some steps I should try to unpick this? I can make a new app with the same router version and I don't get the error...
routes/admin/$activityType/index.tsx, like so:...I get the error
Property 'activityType' does not exist on type 'Record<never, string>'. But I can use the parameter in the page just fine, it's just a type warning.What are some steps I should try to unpick this? I can make a new app with the same router version and I don't get the error...