Comment on Pattern Matching Custom Data Types in TypeScriptComments−PudgePacket7yDon't think the "never" default arm is necessary. If the return type is set and you miss a case TS should complain.
Comments
Don't think the "never" default arm is necessary. If the return type is set and you miss a case TS should complain.