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

1.0.5 • Public • Published

Installation

npm install --save @types/git-username

Summary

This package contains type definitions for git-username (https://github.com/jonschlinkert/git-username).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-username.

index.d.ts

export = gitUsername;

declare function gitUsername(cwd?: string, options?: gitUsername.OptionsWithoutCwd): string | null;
declare function gitUsername(options: gitUsername.Options): string | null;

declare namespace gitUsername {
    interface Options {
        strict?: boolean;
        cwd?: string;
    }

    type OptionsWithoutCwd = Omit<Options, "cwd">;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by BendingBender.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/git-username

      Weekly Downloads

      463

      Version

      1.0.5

      License

      MIT

      Unpacked Size

      3.31 kB

      Total Files

      5

      Last publish

      Collaborators

      • types