Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
0xdeafcafe
· 5y ago · 0 comments
Arctic take.
Comments
[–]
hermanradtke
5y ago
That is why we use things like io-ts. t.Int is a branded type that ensures number is whole and greater than 0.