json-schema-ref-parser icon indicating copy to clipboard operation
json-schema-ref-parser copied to clipboard

Many missing exported types since #300

Open mgabeler-lee-6rs opened this issue 2 years ago • 1 comments

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

mgabeler-lee-6rs avatar Feb 06 '23 17:02 mgabeler-lee-6rs

+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 avatar Feb 19 '23 09:02 bcherny

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

jonluca avatar Mar 06 '24 02:03 jonluca