> Why is it better to have two email types, VerifiedEmail and UnverifiedEmail vs. one Email type with an "isVerified" field? You obviously have no idea what a type is. type VerifiedEmail = { email: string; is_verified:…
type VerifiedEmailOptedOutOfMarketing = { email: string; is_verified: true; is_opted_out: true; };
> Why is it better to have two email types, VerifiedEmail and UnverifiedEmail vs. one Email type with an "isVerified" field? You obviously have no idea what a type is. type VerifiedEmail = { email: string; is_verified:…
type VerifiedEmailOptedOutOfMarketing = { email: string; is_verified: true; is_opted_out: true; };