Code without fear
TypeScript will yell at you if something breaks and point to what needs changing!
try
/caught
it all. We've enumerated all our misery with the help of as const
.Code without fear
TypeScript will yell at you if something breaks and point to what needs changing!
Light as a feather
Enums hold data
Toss an Enum<Coins>
entry into a match()
and see the right code magically run!
Results pass errors
Gently return errors instead of rudely throwing them using Result<T, E>
Options are like gifts
Option<T>
is a box that can contain something (T
) or nothing (None
). Unwrap one today to see what’s inside!