Updated runtime so emitted Request
type is compatible with Request
from lib.dom.d.ts
#2723
Labels
types
Related to @cloudflare/workers-types
#1383 Still seems like a common problem. In the issue, I show a solution to the problem. This solution involves a change to the emitted
Request
in@cloudflare/workers-types/index.d.ts
:It has been mentioned multiple times that these types are generated from the worker runtime. Can the worker runtime be updated so the emitted type changes as shown above? This would resolve many users' problems, without a significant change to the API or tooling.
The text was updated successfully, but these errors were encountered: