AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Benefits of Using Enums in Typescript
In typescript you can use this thing called anenum which is essentially a list of available options up down left right. The Great here says that they have some benefits over just using string enums For factoring works better with string union than with string unions And two you can add comments above each which will show up when hovering Um, which can be very useful.