diff --git a/src/utils.ts b/src/utils.ts index 59b73721955..ea4849e9c9c 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -36,7 +36,7 @@ export function objectify(arg: any): any { /** * Removes leading indents from a template string without removing all leading whitespace */ -export function dedent(strings: string[], ...values: string[]) { +export function dedent(strings: TemplateStringsArray, ...values: string[]) { let fullString = strings.reduce((accumulator, str, i) => { return accumulator + values[i - 1] + str; });