For those looking to sanitize input from Typescript, I highly recommend the runtypes library:
https://github.com/pelotom/runtypesIt let's you specify type definitions a DSL in Typescript using syntax very similar to Typescript's type definitions. Once you define your types in the DSL, you get Typescript types and parsing / verification for free. Not as general purpose as JSON Schema, but 1000x cleaner and easier to use.