4 ms·Can TS enums carry values like Option<T> ?by timeon 2y agoCan TS enums carry values like Option<T> ?josephg 2y agoSure! Though the normal way to write Option<T> is simply T | null.