@types/current-git-branch
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

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

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: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Max Boguslavskiy.

/@types/current-git-branch/

    Package Sidebar

    Install

    npm i @types/current-git-branch

    Weekly Downloads

    4,902

    Version

    1.1.6

    License

    MIT

    Unpacked Size

    3.57 kB

    Total Files

    5

    Last publish

    Collaborators

    • types