how to define event.locals type?
quick question, I'm trying to write some middleware to integrate pocketbase with SSR and I was wondering if anyone knows where (like in Svelte) can I define the type for my event.locals attribute?
2 Replies
https://github.com/solidjs/solid-start/blob/main/packages/start/server/types.tsx#L77-L84
not possible without a PR/patch as
locals
is not an interfaceso, should I be using this casting it everytime or am I doing something not in an optimal way ?