declare types for locals?
i need to declare some locals for RequestEvent
that didn't work
5 Replies
- Where did you place this declaration?
- How exactly did “that didn't work” manifest itself?
-
src/global.d.ts
- it didn't show in vscode suggestions in getRequestEvent()?.locals
GitHub
solid-start-sse-chat/src/entry-server.tsx at d2b9070f956947c940dc20...
Basic Chat demonstration with server-sent events (SSE) - peerreynders/solid-start-sse-chat
oh ok i needed @solidjs/start/server
i was using @solidjs/start here ^
Details do matter