mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-26 08:47:36 +08:00
missing extends
This commit is contained in:
parent
42ff575300
commit
3cedcda8b1
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ import Ape from "../ape";
|
|||
import { areFunboxesCompatible } from "../test/funbox/funbox-validation";
|
||||
import * as Skeleton from "../popups/skeleton";
|
||||
|
||||
interface SettingsGroups<T> {
|
||||
interface SettingsGroups<T extends MonkeyTypes.ConfigValues> {
|
||||
[key: string]: SettingsGroup<T>;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import Config from "../config";
|
||||
|
||||
export default class SettingsGroup<T> {
|
||||
export default class SettingsGroup<T extends MonkeyTypes.ConfigValues> {
|
||||
public configName: string;
|
||||
public configValue: T;
|
||||
public configFunction: (param: T, nosave?: boolean) => boolean;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue