Re:Problems with TypeScript
by amatecha on Tuesday January 21, 2020 @07:44PM
(#22113425)
if something can be returned as undefined instead of a function, then yes, you are forced to either write code to handle the undefined value, or modify your logic so the returned value can only be a function :)
[ Parent
| on HN ]
There are no comments on this comment yet.