3 ms·
Favour TypeScript Types over Interfaces
- chatmasta 3y agoIf you're composing multiple types, you should probably prefer interface inheritance over type merging, for both performance and correctness reasons: https://github.com/microsoft/TypeScript/wiki/Performance#preferring-interfaces-over-intersections https://github.com/microsoft/TypeScript/wiki/Performance#pre...