Open vickyRathee opened 1 day ago
Hi @vickyRathee
There is a conflict of definition of Response
between Cloudflare's and DOM's. Remove the dom
from your tsconfig.json
:
"lib": ["esnext"],
@yusukebe that doesn't made any difference, still TS error. Already tried closing vscode > reopen etc.
@vickyRathee
I can't reproduce it. Please provide a minimal project to reproduce it if you want we help you.
@yusukebe Sure, I will create one
What version of Hono are you using?
4.6.3
What runtime/platform is your app running on?
Cloudflare pages
What steps can reproduce the bug?
The
cf
properties are not exported inreq.raw
?tsconfig.json
What is the expected behavior?
The TS should not complain
What do you see instead?
TS error
Additional information
No response