From ec78e68a36a61ec2384b13c04fa7a7a5106d2afd Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Tue, 18 May 2021 12:56:27 -0700 Subject: [PATCH] fix(dev-infra): correct FormatConfig interface (#42154) Correct the FormatConfig interface to use `[key: string]` instead of the incorrect `[keyof: string]`. PR Close #42154 --- dev-infra/format/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-infra/format/config.ts b/dev-infra/format/config.ts index e6713aabe9..62be7a6ca9 100644 --- a/dev-infra/format/config.ts +++ b/dev-infra/format/config.ts @@ -13,7 +13,7 @@ interface Formatter { } export interface FormatConfig { - [keyof: string]: boolean|Formatter; + [key: string]: boolean|Formatter; } /** Retrieve and validate the config as `FormatConfig`. */