add method to get original configs for stringifying
This commit is contained in:
parent
41a8f20e50
commit
38bdafdf13
|
@ -158,4 +158,11 @@ export class ConfigManager {
|
|||
}
|
||||
) as T;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the in-memory config's value directly from the map (not a proxy object)
|
||||
*/
|
||||
public static getOriginalConfigObject<T>(configPath: string) {
|
||||
return this.configCache.get(configPath) as T;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue