|
|
|
|
|
by leshow
2175 days ago
|
|
You lose the ability to make sure you've handled an error AOT, but sure, this feature is pretty much the same as a sum type except that it's structural. When I used to write typescript, there were plenty of times I was happy to have it's union types! |
|