Change twig Paramters.url to Paramaters.href

This commit is contained in:
Nick Krichevsky
2018-06-26 21:03:16 -04:00
parent 8c2749435d
commit 2eb9b025d0
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for twig 1.10
// Type definitions for twig 2.0
// Project: https://github.com/twigjs/twig.js
// Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>
// Tim Schumacher <https://github.com/enko>
@@ -12,7 +12,7 @@ export interface Parameters {
macros?: any;
base?: any;
path?: any;
url?: any;
href?: any;
name?: any;
method?: any;
options?: any;
+1 -1
View File
@@ -14,7 +14,7 @@ const params: twig.Parameters = {
method: value,
name: value,
options: value,
url: value
href: value
};
const temp: twig.Template = twig.twig(params);