SolidJSS
SolidJSโ€ข3y agoโ€ข
1 reply
Nathan

Typing nested routeData

It seems the API for typing nested routeData has changed after I updated to 0.3.7. I used to have

import { routeData as appRouteData } from "../app"

export const routeData = ({ data }: RouteDataArgs<typeof appRouteData>) => createRouteData...

But this doesn't work anymore. How do I adjust the types so that the
data
argument has the appropriate type?
Was this page helpful?