Re:Tricks I wish I knew when I learned TypeScript
by iaml on Tuesday October 12, 2021 @12:32PM
(#28841711)
I prefer types over interfaces because of one simple difference: if you use vs code and hover over type alias, it expands it and shows everything inside, while for interfaces it just shows the name.
[ Parent
| on HN ]
There are no comments on this comment yet.