Commit 6ee6e8d3 authored by nanahira's avatar nanahira

fix

parent 01872ac9
......@@ -43,7 +43,7 @@ export class Configurer<T extends Record<string, string>> {
constructor(public defaultConfig: T) {}
loadConfig(
options: { env?: Record<string, string>; obj?: any } = {},
options: { env?: Record<string, string | undefined>; obj?: any } = {},
): ConfigurerInstance<T> {
const readConfig =
options?.obj && typeof options.obj === 'object' ? options.obj : {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment