1.0.5 • Published 2 years ago
@types/git-username v1.0.5
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
// Type definitions for git-username 1.0
// Project: https://github.com/jonschlinkert/git-username
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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, 24 Aug 2021 01:31:28 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by BendingBender.