|
|
|
|
|
by IshKebab
2049 days ago
|
|
It is, although the syntax for proper sum types (it calls them "discriminated unions") is really verbose in Typescript. I wish they'd make it more terse so people didn't use untagged sum types and hacks like `typeof` all the time. |
|