Re:Tricks I wish I knew when I learned TypeScript
by moron4hire on Tuesday October 12, 2021 @09:58AM
(#28839720)
That's creating a new type B. In contrast, interfaces can have their definition spread across multiple code units.
This is important for keeping up with API changes in browsers that may happen faster than the DefinitelyTyped project can keep up.
[ Parent
| on HN ]
There are no comments on this comment yet.