hover to params of beforeHandle hook to check the types of context
What is the expected behavior?
As you can see, the type of context.params is different each others, I think it should be the same as the local plugin it's used in the global instance.
What do you see instead?
the type of context.params on global instance is never, but the type of context.params on plugin instance is {}.
Additional information
No response
Have you try removing the node_modules and bun.lockb and try again yet?
What version of Elysia is running?
Elysia v1.1.16
What platform is your computer?
Darwin 24.0.0 arm64 arm
What steps can reproduce the bug?
beforeHandle
handlerbeforeHandle
hookbeforeHandle
hook to check the types of contextWhat is the expected behavior?
As you can see, the type of
context.params
is different each others, I think it should be the same as the local plugin it's used in the global instance.What do you see instead?
the type of
context.params
on global instance isnever
, but the type ofcontext.params
on plugin instance is{}
.Additional information
No response
Have you try removing the
node_modules
andbun.lockb
and try again yet?i've done it, but the issue persist