© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Why is the value type of `_opts` in createInnerTRPCContext never? - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
14 replies
Liam
Why is the value type of `_opts` in createInnerTRPCContext never?
I am trying to read some cookies and then add a boolean flag to the context that I need on every request
, but when trying to read
_opts
, its type is
[x: string]: never
[x: string]: never
. Any idea why this is
? As far as I understand it this should have the request and cookies on it
.
Thanks
!
Theo's Typesafe Cult
Join
27,305
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
createServerSideHelpers() and createInnerTRPCContext()
TTC
Theo's Typesafe Cult / questions
3y ago
Type error: Type 'PrismaPlanetScale' is not assignable to type 'never'.
TTC
Theo's Typesafe Cult / questions
3y ago
Why the infered type of this function is `string | undefined`?
TTC
Theo's Typesafe Cult / questions
3y ago