diff --git a/types/twig/index.d.ts b/types/twig/index.d.ts index 3b39c1661d..f2e35459aa 100644 --- a/types/twig/index.d.ts +++ b/types/twig/index.d.ts @@ -17,6 +17,7 @@ export interface Parameters { method?: any; options?: any; data?: any; + async?: any; } export interface Template { diff --git a/types/twig/twig-tests.ts b/types/twig/twig-tests.ts index c6c022bb56..39fbdc804d 100644 --- a/types/twig/twig-tests.ts +++ b/types/twig/twig-tests.ts @@ -14,7 +14,8 @@ const params: twig.Parameters = { method: value, name: value, options: value, - href: value + href: value, + async: value }; const temp: twig.Template = twig.twig(params);