workers-sdk
workers-sdk copied to clipboard
`worker-configuration.d.ts` is 5,000 LOC!
What versions & operating system are you using?
4.17.0
Please provide a link to a minimal reproduction
https://github.com/samuelcolvin/cloudkv/pull/11
Describe the Bug
I complained on twitter about this too.
worker-configuration.d.ts has become extremely ugly.
It's now >5k LOC with 5 env vars set, and causes a diff of +4.4k -4.4k when I add a new env var.
This completely destroys any meaning of diff sizes.
Surely you should put just the env vars in that file. If you want other types, put them in your library!
Please provide any relevant error logs
No response