Skip to content

Commit

Permalink
fix: change uriDetails type to URIComponents from uri-js package
Browse files Browse the repository at this point in the history
  • Loading branch information
medfreeman committed Mar 23, 2021
1 parent d7f1dda commit ef75e17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* Various utilities for JSON References *(http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03)* and
* JSON Pointers *(https://tools.ietf.org/html/rfc6901)*.
*/
import { URIComponents } from 'uri-js';

declare module 'json-refs' {
/**
* Clears the internal cache of remote documents, reference details, etc.
Expand Down Expand Up @@ -304,7 +306,7 @@ declare module 'json-refs' {
* Detailed information about the URI as provided by
* {@link https://github.com/garycourt/uri-js|URI.parse}.
*/
uriDetails: object;
uriDetails: URIComponents;
/**
* The JSON Reference type *(This value can be one of the following: `invalid`, `local`,
* `relative` or `remote`.)*
Expand Down

0 comments on commit ef75e17

Please sign in to comment.