Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vendor json schema types #96

Merged
merged 2 commits into from
Jan 14, 2025
Merged

Vendor json schema types #96

merged 2 commits into from
Jan 14, 2025

Conversation

zephraph
Copy link
Owner

The json schema types from npm:@types/json-schema have a bit of an unfortunate type signature. There's a JsonSchema7Definition that's typed as JsonSchema7 | boolean and returned by a lot of properties in JsonSchema7. My generation never uses that type but it forced a lot of type narrowing and that types package has a lot of historical json schema versions in it too. Just decided to vendor a narrowed down version of the types.

@zephraph zephraph merged commit 08d8b9d into main Jan 14, 2025
7 checks passed
@zephraph zephraph deleted the vendor-json-schema branch January 14, 2025 04:13
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