Closed steida closed 4 years ago
I am not sure, it seems that for non-primitive types https://dev.to/gcanti/functional-design-smart-constructors-14nb is enough.
OK, I got it. It's just interface, so it can be used for anything.
I am not sure, it seems that for non-primitive types https://dev.to/gcanti/functional-design-smart-constructors-14nb is enough.