From a77310af2c93d44f27f7c6293681a0e10339902f Mon Sep 17 00:00:00 2001 From: Alexander Marks Date: Wed, 13 Dec 2017 15:42:55 -0800 Subject: [PATCH] Add TypeScript equivalent to Closure ITemplateArray. --- types/extra-types.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/extra-types.d.ts b/types/extra-types.d.ts index 2f0bd69e49..60e147183d 100644 --- a/types/extra-types.d.ts +++ b/types/extra-types.d.ts @@ -156,3 +156,8 @@ interface IdleDeadline { didTimeout: boolean; timeRemaining(): number; } + +/** + * Closure type equivalence for tagged template literal function argument. + */ +type ITemplateArray = TemplateStringsArray;