@types/git-rev
Version:
TypeScript definitions for git-rev
25 lines (19 loc) • 897 B
Markdown
# Installation
> `npm install --save @types/git-rev`
# Summary
This package contains type definitions for git-rev (https://github.com/tblobaum/git-rev).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-rev.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-rev/index.d.ts)
````ts
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;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 03:09:37 GMT
* Dependencies: none
# Credits
These definitions were written by [Spicy Pixel](http://spicypixel.com).