@types/current-git-branch
Version:
TypeScript definitions for current-git-branch
35 lines (26 loc) • 1.12 kB
Markdown
> `npm install --save @types/current-git-branch`
This package contains type definitions for current-git-branch (https://www.npmjs.com/package/current-git-branch).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/current-git-branch.
````ts
declare namespace CurrentGitBranch {
type CurrentGitBranchOptions = CurrentGitBranchOptionsObject | string[] | string;
type CurrentGitBranchResult = string | false;
interface CurrentGitBranchOptionsObject {
altPath?: string | undefined;
branchOptions?: string | undefined;
}
}
declare function CurrentGitBranch(
args?: CurrentGitBranch.CurrentGitBranchOptions,
): CurrentGitBranch.CurrentGitBranchResult;
export = CurrentGitBranch;
````
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT
* Dependencies: none
These definitions were written by [Max Boguslavskiy](https://github.com/maxbogus).