Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RequestEvent.nativeEvent is missing from the declared types #515

Open
kjrocker opened this issue Feb 25, 2025 · 0 comments
Open

RequestEvent.nativeEvent is missing from the declared types #515

kjrocker opened this issue Feb 25, 2025 · 0 comments

Comments

@kjrocker
Copy link

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:

declare module "solid-js/web" {

My warning:
Image

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

  1. Have anything with type RequestEvent
  2. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant