diff --git a/lib/types/index.ts b/lib/types/index.ts index e038aa326a..123d9df16e 100644 --- a/lib/types/index.ts +++ b/lib/types/index.ts @@ -236,5 +236,5 @@ export interface RegExpLike { export interface UriResolver { parse(uri: string): URI.URIComponents resolve(base: string, path: string): string - serialize(): string + serialize(component: URI.URIComponents): string }