News for hackers. Stuff that matters.
Re:Extreme explorations of TypeScript's type system by sir_pepe on Monday June 27, 2022 @03:19PM (#31899439)
Not really a "project", but TypeScript's own type definitions for the DOM are a great example. Eg. document.createElement returns different subtypes of HTMLElement depending on the string argument (HTML tag name) it gets called with.

There are no comments on this comment yet.