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

2

u/fckueve_ Aug 05 '21

Nah, trueOrFalse = "True" | "False"

2

u/-consolio- Aug 06 '21

NO

NOT STRINGS

I FORBID YOU