3 ms·
The problem with this is the explosion of types when you start with combinations. Stuff like VerifiedEmailOptedOutOfMarketing. I can see a type system designe
by treis 4y ago
The problem with this is the explosion of types when you start with combinations. Stuff like VerifiedEmailOptedOutOfMarketing.
I can see a type system designed from the ground up to do something like this. But as a bolt on to existing languages it's pretty clunky.
- throway232lasdf 4y agotype VerifiedEmailOptedOutOfMarketing = { email: string; is_verified: true; is_opted_out: true; };