mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Switch to using ReadonlyArray for URITemplateValue.
This commit is contained in:
Vendored
+1
-1
@@ -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<string> | { [key: string] : string } | undefined | null;
|
||||
type URITemplateCallback = (keyName: string) => URITemplateValue;
|
||||
|
||||
interface URITemplate {
|
||||
|
||||
Reference in New Issue
Block a user