Re:TypeScript: Branded Types
by svieira on Wednesday April 24, 2024 @08:14PM
(#40151598)
Yes, but then there would be runtime overhead for the wrapper (presuming a class or object is returned) or the type of accountId would be the underlying type (if AccountId isn't returning a branded type).
[ Parent
| on HN ]
There are no comments on this comment yet.