Re:Things Go needs more than generics
by Osiris on Monday October 04, 2021 @03:30PM
(#28751016)
You can do this with typescript. If strict mode is on, any type that can be undefined or null will cause a compiler error if the condition is not explicitly checked for.
[ Parent
| on HN ]
There are no comments on this comment yet.