Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
sir_pepe
· 4y ago · 0 comments
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.
Comments
No comments yet.
Better HN