mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 21:40:21 +00:00
Merge pull request #32287 from Jeremy-F/master
[uri-templates] Update of 'vars' params type in the fill and fill Object methods
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user