Comment Comment by bengalister 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 bengalister 5 years ago