diff --git a/index.d.ts b/index.d.ts index 8c1716c..98b69d6 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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. @@ -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`.)*