solid-router
solid-router copied to clipboard
RequestEvent.nativeEvent is missing from the declared types
Describe the bug
Ran into an issue where the documentation recommends I pass event.nativeEvent (I'm parsing cookies with the Vinxi methods).
Documentation: https://docs.solidjs.com/solid-start/advanced/request-events#nativeevent
The type: https://github.com/solidjs/solid-router/blob/3c214ce2ceb9b7d9d39d143229a8c6145e83e681/src/types.ts#L3
My warning:
Your Example Website or App
https://github.com/kjrocker/solid-start/blob/supabase-auth-example/examples/with-supabase-auth/src/util/supabase/server.ts
Steps to Reproduce the Bug or Issue
- Have anything with type RequestEvent
- Attempt to access
nativeEvent
Expected behavior
I'd like the nativeEvent to be exported as part of the type using the underlying Vinxi type.
Screenshots or Videos
No response
Platform
...the source code?
Additional context
No response