Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
samdoesnothing
· 1y ago · 0 comments
If you have some `ConstrainedNumber` type, you will need to cast between it and `number`, either with a type assertion or with a type guard. In either case, when you use bespoke types everywhere you kill code reuse.
Comments
No comments yet.
Better HN