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.
In this potluck episode of Syntax, Wes and Scott answer your questions about rate-limiting an API, using Wasp, Enums in TypeScript, styling React projects, using Edge functions, and more.
Show Notes
××× SIIIIICK ××× PIIIICKS ×××
Shameless Plugs
Tweet us your tasty treats