Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Argument type string is not assignable to parameter type keyof E["Variables"] - Hono
H
Hono
•
2y ago
•
7 replies
h
Argument type string is not assignable to parameter type keyof E["Variables"]
I
'm using Hono with Webstorm and whenever I use
.get
(
) or
.set
(
) with some key of string
, webstorm will always complain such type mismatch
. Even the type
-safe guard on docs doesn
't help
.
The code
:
https://github.com/search?q=repo%3Aminhperry%2Fcf-worker-backend%20c.get(&type=code
Hono
Join
This is the official Hono discord server for the community
4,418
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Argument of type 'Element' is not assignable to parameter of type 'Container'
H
Hono / help
15mo ago
How to Resolve "Argument of type MiddlewareHandler Error"
H
Hono / help
2y ago
Is type augmentation for Variables in hono/env possible?
H
Hono / help
2y ago
How to properly type Variables bound to the context?
H
Hono / help
4mo ago