Brendan Coll
Brendan Coll
Systems Engineer at Cloudflare, and creator of Miniflare. Loves making developers' lives easier. Currently building tooling for Cloudflare Workers.
DevOps.js Conf 2024DevOps.js Conf 2024
8 min
Generating TypeScript with TypeScript
A deep-dive into how we automatically generate TypeScript definitions for the V8-based runtime that powers Cloudflare Workers. We'll give an overview of how we use the TypeScript compiler API, how we enhance auto-generated definitions with user-written overrides to improve ergonomics, and how we created a service to build types for users' specific compatibility settings.