From 2eb9b025d0491850c1ec767d68a2cc0f1a4b5496 Mon Sep 17 00:00:00 2001 From: Nick Krichevsky Date: Tue, 26 Jun 2018 20:51:18 -0400 Subject: [PATCH] Change twig Paramters.url to Paramaters.href --- types/twig/index.d.ts | 4 ++-- types/twig/twig-tests.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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);