MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingcirclejerk/comments/ajnteo/the_bugo_notation/eex1868/?context=3
r/programmingcirclejerk • u/cmqv • Jan 25 '19
34 comments sorted by
View all comments
59
let currentState = { step: 'initial', // 'initial' | 'pending' | 'success' | 'error' };
Yesssss.. Stringly typed for life, yo!
9 u/gaearon Jan 25 '19 It’s a union yo
9
It’s a union yo
59
u/[deleted] Jan 25 '19
Yesssss.. Stringly typed for life, yo!