mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-10 05:35:05 +08:00
removed another any
This commit is contained in:
parent
0c85df8791
commit
8ef55423d7
1 changed files with 2 additions and 2 deletions
|
@ -58,13 +58,13 @@ export default class SettingsGroup {
|
|||
if (!value && !params) return;
|
||||
if (value === "true") value = true;
|
||||
if (value === "false") value = false;
|
||||
this.setValue(value, params as any);
|
||||
this.setValue(value, params as unknown as ConfigValues[]);
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
setValue(value: any, params?: any[]): void {
|
||||
setValue(value: ConfigValues, params?: ConfigValues[]): void {
|
||||
if (params === undefined) {
|
||||
this.configFunction(value);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue