conventional-changelog-writer
Version:
Write logs based on conventional commits and templates.
10 lines • 595 B
TypeScript
import type { CommitKnownProps, FinalTemplateContext, TransformedCommit } from '@conventional-changelog/template';
import type { FinalOptions } from './types/index.js';
/**
* Create template renderer.
* @param context
* @param options
* @returns Template render function.
*/
export declare function createTemplateRenderer<Commit extends CommitKnownProps = CommitKnownProps>(context: FinalTemplateContext<Commit>, options: FinalOptions<Commit>): (commits: TransformedCommit<Commit>[], keyCommit: Commit | null, subsequent?: boolean) => Promise<string>;
//# sourceMappingURL=template.d.ts.map