fix(config): ensure config type reflects get<T>

This commit is contained in:
Andrew Thauer
2021-02-21 15:13:21 -05:00
parent 43083e0cc2
commit 0f1e10b101
+2 -2
View File
@@ -34,8 +34,8 @@ export type Config = {
keys(): string[];
get(key?: string): JsonValue;
getOptional(key?: string): JsonValue | undefined;
get<T = JsonValue>(key?: string): T;
getOptional<T = JsonValue>(key?: string): T | undefined;
getConfig(key: string): Config;
getOptionalConfig(key: string): Config | undefined;