diff --git a/types/twig/index.d.ts b/types/twig/index.d.ts index 742958535d..3b39c1661d 100644 --- a/types/twig/index.d.ts +++ b/types/twig/index.d.ts @@ -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 // Tim Schumacher @@ -12,7 +12,7 @@ export interface Parameters { macros?: any; base?: any; path?: any; - url?: any; + href?: any; name?: any; method?: any; options?: any; diff --git a/types/twig/twig-tests.ts b/types/twig/twig-tests.ts index 3f787cf77c..c6c022bb56 100644 --- a/types/twig/twig-tests.ts +++ b/types/twig/twig-tests.ts @@ -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);