whitlockjc / json-refs

Various utilities for JSON Pointers (http://tools.ietf.org/html/rfc6901) and JSON References (http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03).
MIT License
223 stars 63 forks source link

Change JsonRefsOptions.loaderOptions type pathLoader.LoadOptions #196

Closed rkesters closed 1 year ago

rkesters commented 1 year ago

The typing for JsonRefsOptions.loaderOptions is to generic, updated it to be the same typing as pathLoader.LoadOptions

whitlockjc commented 1 year ago

The typings are generated from source code, so direct modifications to the typing file isn't supported.

whitlockjc commented 1 year ago

It should be possible to do this by updating the JSDoc for the appropriate code to achieve this. Should you figure it out, feel free to reopen. I may give this a shot as well.