Re:Problems with TypeScript
by paulddraper on Thursday January 16, 2020 @12:43AM
(#22061982)
The discriminated union pattern is better [1]
[1] https://www.typescriptlang.org/docs/handbook/advanced-types....
[ Parent
| on HN ]
There are no comments on this comment yet.