I would certainly rather see this than {isAdmin: bool; isLoggedIn: bool}. With boolean | null, at least illegal states are unrepresentable... even if the legal states are represented in an... interesting way.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: