workers-sdk
workers-sdk copied to clipboard
🚀 Feature Request: Wrangler type generator `RateLimit` type
Describe the solution
Hello,
Now that this PR adding the type definition for the beta RateLimit binding is merged, is it worth adding it in the wrangler type generator? I would like to use it, but it gets overwritten by any when I generate the types.
Since it's still an unsafe binding, I assume the checks would still have to me made here for now and later on removed to become its own env field binding. Is there anywhere else it needs to be added?
If this is okay to add, I can open a PR with the type + tests.
@Pedr0Rocha we'd be happy to accept a PR that adds this!