Open ghost opened 1 month ago
1.1.17
Darwin 24.0.0 arm64 arm
import Elysia from 'elysia'; const app = new Elysia() .onAfterHandle(({ response }) => { if (response instanceof Response) return response return { res: response } })
response is typed correctly
response
its never
never
related to #838 and #810
node_modules
bun.lockb
Yes
What version of Elysia is running?
1.1.17
What platform is your computer?
Darwin 24.0.0 arm64 arm
What steps can reproduce the bug?
What is the expected behavior?
response
is typed correctlyWhat do you see instead?
its
never
Additional information
related to #838 and #810
Have you try removing the
node_modules
andbun.lockb
and try again yet?Yes