mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 17:20:09 +00:00
Switch to using ReadonlyArray for URITemplateValue.
This commit is contained in:
2
types/urijs/index.d.ts
vendored
2
types/urijs/index.d.ts
vendored
@@ -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