Skip to content

Conversation

@mmkal
Copy link

@mmkal mmkal commented Nov 11, 2025

Hi!

At iterate, we have a usecase where we want to turn some inline json-schema objects into typescript, inside a non-async function. There are no remote refs, and we don't need prettier, so I poked around to see if it would be possible. Turns out to be pretty easy, and you can even support remote refs by just passing them in. I added a compileSync overload for it.

For anyone interested, I published to npm under @mmkal/json-schema-to-typescript but it'd be great if this could be merged into this lib.

Added compileSync function to usage example.
@mmkal mmkal mentioned this pull request Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant