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

Many missing exported types since #300 #307

Closed
mgabeler-lee-6rs opened this issue Feb 6, 2023 · 2 comments
Closed

Many missing exported types since #300 #307

mgabeler-lee-6rs opened this issue Feb 6, 2023 · 2 comments

Comments

@mgabeler-lee-6rs
Copy link

The rewrite in #300 caused many previously-exported types to no longer be exported. These types are important when trying to work with customizations to the library.

The two types that are most relevant to my work are JSONSchema and FileInfo. JSONSchema is important for naming inputs and outputs to several $RefParser methods, and FileInfo is needed to safely write custom parser plugins as exposed by $RefParser

@bcherny
Copy link
Contributor

bcherny commented Feb 19, 2023

+1

There also seems to be a bunch of type errors. To repro, create a new directory, npm init, then npm install json-schema-ref-parser.

bcherny pushed a commit to bcherny/json-schema-to-typescript that referenced this issue Feb 19, 2023
jgarcia0092 added a commit to jgarcia0092/json-schema-to-typescript that referenced this issue Jun 10, 2023
@jonluca
Copy link
Collaborator

jonluca commented Mar 6, 2024

Sorry about that, we export more types now in v11.2.2 and v11.2.4

@jonluca jonluca closed this as completed Mar 6, 2024
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

3 participants