Has someone made a version of this but as a type definition for Typescript? I'd find that interesting and wouldn't mind contributing to a Github repo.

Should be technically possible, though I don't know how strictly they map to/from each other.

JSON schema to TypeScript - https://github.com/bcherny/json-schema-to-typescript

TypeScript to JSON schema - https://github.com/YousefED/typescript-json-schema