UNPKG

@teambit/harmony

Version:
18 lines (17 loc) 495 B
export type ConfigOptions = { cwd?: string; global?: GlobalConfigOpts; shouldThrow?: boolean; }; export type GlobalConfigOpts = { dir?: string; name: string; }; export declare class HarmonyConfig { private raw; constructor(raw: Record<string, any>); toObject(): Record<string, any>; toString(): string; static load(fileName: string, opts?: ConfigOptions): HarmonyConfig; static loadGlobal(globalOpts: GlobalConfigOpts, config?: any): HarmonyConfig; }