fix(dev-infra): correct FormatConfig interface (#42154)
Correct the FormatConfig interface to use `[key: string]` instead of the incorrect `[keyof: string]`. PR Close #42154
This commit is contained in:
parent
5b9a36cf95
commit
ec78e68a36
|
@ -13,7 +13,7 @@ interface Formatter {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FormatConfig {
|
export interface FormatConfig {
|
||||||
[keyof: string]: boolean|Formatter;
|
[key: string]: boolean|Formatter;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Retrieve and validate the config as `FormatConfig`. */
|
/** Retrieve and validate the config as `FormatConfig`. */
|
||||||
|
|
Loading…
Reference in New Issue