DefinitelyTyped/types/git-rev/index.d.ts
2017-08-20 15:49:09 -07:00

11 lines
523 B
TypeScript

// Type definitions for git-rev 0.2
// Project: https://github.com/tblobaum/git-rev
// Definitions by: Spicy Pixel <http://spicypixel.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function short(callback: (short: string) => void): void;
export function long(callback: (long: string) => void): void;
export function branch(callback: (branch: string) => void): void;
export function tag(callback: (tag: string) => void): void;
export function log(callback: (log: string[][]) => void): void;