News for hackers. Stuff that matters.
Re:Parsix: Parse Don't Validate by mbildner on Saturday May 15, 2021 @02:06PM (#27167473)
This is not yet possible in Typescript, but imagine if you could define a numerical subtype that requires your input be below some threshold eg:

`type Limit = 0..100;`

See discussion here: https://github.com/Microsoft/TypeScript/issues/15480

There are no comments on this comment yet.