mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Change twig Paramters.url to Paramaters.href
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user