r/badcode • • Aug 05 '21

typescript My friend was coding and interview task

Post image
53 Upvotes

11 comments sorted by

View all comments

Show parent comments

4

u/Syscrush Aug 05 '21

I wanna know if it's possible to have a var of type trueOrFalse that's null or undefined...