|
|
|
|
|
by sir_pepe
1458 days ago
|
|
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. |
|