Skip to content

Commit 1c955a7

Browse files
committed
fix: change uriDetails type to URIComponents from uri-js package
1 parent 3371c1e commit 1c955a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* Various utilities for JSON References *(http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03)* and
33
* JSON Pointers *(https://tools.ietf.org/html/rfc6901)*.
44
*/
5+
import { URIComponents } from 'uri-js';
6+
57
declare module 'json-refs' {
68
/**
79
* Clears the internal cache of remote documents, reference details, etc.
@@ -304,7 +306,7 @@ declare module 'json-refs' {
304306
* Detailed information about the URI as provided by
305307
* {@link https://github.com/garycourt/uri-js|URI.parse}.
306308
*/
307-
uriDetails: object;
309+
uriDetails: URIComponents;
308310
/**
309311
* The JSON Reference type *(This value can be one of the following: `invalid`, `local`,
310312
* `relative` or `remote`.)*

0 commit comments

Comments
 (0)