yamlify-object
Version:
Stringify object/array with yaml syntax
12 lines (11 loc) • 364 B
TypeScript
import { Colors } from './colors.js';
export declare type Config = {
indent?: string;
prefix?: string;
postfix?: string;
errorToString?(Error: any, string?: any): string;
dateToString?(Date: any): string;
colors?: Colors;
};
export declare const defaultConfig: Config;
export declare function getConfig(config?: Config): Config;