Hacker News new | ask | show | jobs
by 0xdeafcafe 1993 days ago
Arctic take.
1 comments

That is why we use things like io-ts. t.Int is a branded type that ensures number is whole and greater than 0.