@appruut/config
Version:
Config file manager for Node.js
12 lines (11 loc) • 406 B
TypeScript
declare module "@app::Appruut/Core/Config" {
export interface ConfigContract {
all(): any;
get(key: string, defaultValue?: any): any;
merge(key: string, defaultValues: object, customizer?: Function): any;
set(key: string, value: any): void;
defaults(key: string, value: any): void;
}
const Config: ConfigContract;
export default Config;
}