New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@types/current-git-branch

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/current-git-branch

TypeScript definitions for current-git-branch

1.1.3
ts4.1
ts4.2
Version published
Maintainers
1
Created

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: 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: Mon, 03 Oct 2022 21:33:16 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Max Boguslavskiy.

FAQs

Package last updated on 03 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts