1.1.6 • Published 6 months ago
@types/current-git-branch v1.1.6
Installation
npm install --save @types/current-git-branch
Summary
This package contains type definitions for current-git-branch (https://www.npmjs.com/package/current-git-branch).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/current-git-branch.
index.d.ts
// Type definitions for current-git-branch 1.1
// Project: https://www.npmjs.com/package/current-git-branch
// Definitions by: Vladimir Grenaderov <https://github.com/VladimirGrenaderov>,
// Max Boguslavskiy <https://github.com/maxbogus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.7
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;
Additional Details
- Last updated: Thu, 08 Jul 2021 09:08:25 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Vladimir Grenaderov, and Max Boguslavskiy.