1.1.6 • Published 6 months ago

@types/current-git-branch v1.1.6

Weekly downloads
1,040
License
MIT
Repository
github
Last release
6 months ago

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.

1.1.6

6 months ago

1.1.5

7 months ago

1.1.4

8 months ago

1.1.3

2 years ago

1.1.2

3 years ago

1.1.1

4 years ago

1.1.0

5 years ago