Re:Bad TypeScript Habits
by bengalister on Tuesday February 02, 2021 @05:46PM
(#26008080)
According to https://github.com/microsoft/TypeScript/wiki/Performance#pre...
using union types in your example vs interfaces like #6 is bad for compilation performance.
[ Parent
| on HN ]