Skip to content

Commit

Permalink
Add TypeScript equivalent to Closure ITemplateArray.
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks committed Dec 13, 2017
1 parent f0e31f2 commit a77310a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/extra-types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,8 @@ interface IdleDeadline {
didTimeout: boolean;
timeRemaining(): number;
}

/**
* Closure type equivalence for tagged template literal function argument.
*/
type ITemplateArray = TemplateStringsArray;

0 comments on commit a77310a

Please sign in to comment.