Re:Automatically generating types for Cloudflare Workers
by eminence32 on Tuesday November 16, 2021 @04:26PM
(#29246536)
This is nice. I started to learn Cloudflare Workers a few months ago, and used TypeScript for my project. Since I was to this platform, I relied heavily on the TS types and tab completion in my IDE to explore the APIs and to make sure I was using them correctly. Unfortunately there were several gaps which lead to a less-than-ideal development experience and general confusion.
[ Parent
| on HN ]
Re:Automatically generating types for Cloudflare Workers
by kmf on Tuesday November 16, 2021 @04:41PM
(#29246671)
The story around types in Workers should be leaps-and-bounds better than it was a few months ago (thanks to the work outlined in this blog post) - would love to hear your thoughts on this new work, and hope it helps!