UNPKG

395 BTypeScriptView Raw
1export interface Commit {
2 authorName: string | null;
3 authorEmail: string | null;
4}
5export interface GitContext {
6 committer?: string;
7 commit: string;
8 message?: string;
9 remoteUrl?: string;
10 branch?: string;
11}
12export declare const gitInfo: (log: (message?: string | undefined, ...args: any[]) => void) => Promise<GitContext | undefined>;
13//# sourceMappingURL=git.d.ts.map
\No newline at end of file