From 5db3dc7b5e9fe3af6b019d32726a994c63cba12d Mon Sep 17 00:00:00 2001 From: jeremyfornarino Date: Fri, 18 Jan 2019 12:13:27 +0100 Subject: [PATCH] Update fill params type --- types/uri-templates/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/uri-templates/index.d.ts b/types/uri-templates/index.d.ts index d378de8a4f..c14b01c5ec 100644 --- a/types/uri-templates/index.d.ts +++ b/types/uri-templates/index.d.ts @@ -8,9 +8,9 @@ declare function utpl(template: string): utpl.URITemplate; declare namespace utpl { export interface URITemplate { - fillFromObject(vars: { [key: string]: string }): string; + fillFromObject(vars: { [key: string]: string | { [key: string]: string} }): string; fill(callback: (varName: string) => string): string; - fill(vars: { [key: string]: string }): string; + fill(vars: { [key: string]: string | { [key: string]: string } }): string; fromUri(uri: string): { [key: string]: string }; varNames: string[]; template: string;