Speaking/ Talk you can book
The DOM Is Lying to Your Types
A expert talk by Martin Ferret, TypeScript performance expert, available to book online or on site, in English or French. Format: 30 to 45 min.
Abstract
Every TypeScript project trusts lib.dom.d.ts, but it isn't written by hand: a generator turns web specifications into types, and that translation is where bugs hide. Optional parameters that throw, iterables typed as arrays, return types lost on the way. I fix these bugs upstream in Microsoft's generator. In this talk, I show how WebIDL becomes TypeScript, why the spec and not MDN is the source of truth, how to prove a DOM type is wrong, and how a fix travels from a pull request to your editor.
- Level
- Expert
- Format
- 30 to 45 min
- Languages
- English or French
Built on measured work
Every talk comes from a published experiment in the TypeScript Performance Lab or a fix merged into TypeScript's own repositories, listed on Work. Bio, photo and abstracts for organizers are on Invite me to speak.