Samuel@samuel.fmI generally like typescript a lot but the person who decided that the first member of an enum is falsy should be exiled 1 2 9
Oliver10 Jan 2024If you have to use enums you can also set the first entry to 1, the others will count up from that. enum Weekday { Monday = 1, Tuesday, // will be 2 … } But also team string union. 2