summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/util/Config.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/Config.ts b/src/util/Config.ts

index 7d69fb45..588f8dea 100644 --- a/src/util/Config.ts +++ b/src/util/Config.ts
@@ -89,8 +89,8 @@ class Config<T extends Record<string, any> = Record<string, unknown>> extends St return this._get(key, defaultValue); } - public getAll(): unknown { - return this.store as unknown; + public getAll(): T { + return this.store; } private _has<Key extends keyof T>(key: Key | string): boolean {