TypeScript runtime type validator generator that creates validation functions from TypeScript types with custom validation rules defined using JSDoc comments.
Why do you think that https://github.com/tc39/proposal-pattern-matching is a good alternative to ttype-safe