diff --git a/types/urijs/index.d.ts b/types/urijs/index.d.ts index 6c1d04a0aa..4b5e9706ff 100644 --- a/types/urijs/index.d.ts +++ b/types/urijs/index.d.ts @@ -234,7 +234,7 @@ declare namespace uri { withinString(source: string, func: (url: string) => string): string; } - type URITemplateValue = string | string[] | { [key: string] : string } | undefined | null; + type URITemplateValue = string | ReadonlyArray | { [key: string] : string } | undefined | null; type URITemplateCallback = (keyName: string) => URITemplateValue; interface URITemplate {