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.