devmoji
Version:
Enhance your conventional commits with gitmoji
11 lines (10 loc) • 432 B
TypeScript
import { Devmoji } from "./devmoji";
export declare class ConventionalCommits {
devmoji: Devmoji;
regex: RegExp;
constructor(devmoji: Devmoji);
formatCommit(text: string, color?: boolean): string;
formatLog(text: string, color?: boolean): string;
formatEmoji(type: string, scope?: string, other?: string, breaking?: boolean): string;
format(text: string, firstOnly?: boolean, color?: boolean): string;
}