Automatically generating types for Cloudflare Workers Loading... This post is also available in 简体中文, 日本語. Historically, keeping our Rust and TypeScript type repos up to date has been hard. They were manually generated, which means they ran the risk of being inaccurate or out of date. Until recently, the workers-types repository needed to be manually updated whenever the types changed. We also use
![Automatically generating types for Cloudflare Workers](https://cdn-ak-scissors.b.st-hatena.com/image/square/f51e5994ebf959e35095a1682373396302b18f96/height=288;version=1;width=512/http%3A%2F%2Fblog.cloudflare.com%2Fcontent%2Fimages%2F2021%2F11%2FAutomatically-generating-types-for-Cloudflare-Workers-OG-1.png)