I want to use the nconf-yaml plugin with my Typescript project, but I don't know how to add it in my typings. In @types/nconf, the formats
variable is declared as below:
export declare var formats: {
json: IFormat;
ini: IFormat;
};
How do I use declaration merging to add yaml, so that it will become:
export declare var formats: {
json: IFormat;
ini: IFormat;
yaml: IFormat
};