33 ms·Typescript has discriminated unions, which are amazingly niceby paulddraper 4y agoTypescript has discriminated unions, which are amazingly nice