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

Can no longer import JSONSchema7 #182

Closed
dw-bayer opened this issue Dec 20, 2023 · 1 comment
Closed

Can no longer import JSONSchema7 #182

dw-bayer opened this issue Dec 20, 2023 · 1 comment

Comments

@dw-bayer
Copy link

In 2.12.0 I can no longer import JSONSchema7.
in 2.9.2 I can. :D

I looked in the repo and it's still there. not sure why it doesn't want to come out anymore.

import type { JSONSchema7 } from 'json-schema-to-ts';
// makes for unhappy typescript
@ThomasAribart
Copy link
Owner

Ah yes, my bad :/ Made a breaking change there 🤦‍♂️

You can simply import JSONSchema, it's the same !

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

No branches or pull requests

2 participants