-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloudflare Request type error #762
Comments
That makes sense. Could you submit a fix? We do not want to add a new dependency to the package that contains the types. Instead, we need a minimal type definition that contains all the properties of a CFW request that grammY needs, and that models them in a way that is compatible with CFW's types. That's how the existing adapters work, too. |
Make sense. Maybe you can use Line 5 in 3299200
https://cdn.jsdelivr.net/npm/@cloudflare/workers-types/index.d.ts |
No:
|
Cloudflare Request is different from normal request. It should use this Request by Cloudflare.
grammY/src/convenience/frameworks.ts
Lines 108 to 110 in 3299200
The text was updated successfully, but these errors were encountered: