mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
474 B
TypeScript
17 lines
474 B
TypeScript
// Type definitions for git-user-name 2.0
|
|
// Project: https://github.com/jonschlinkert/git-user-name
|
|
// Definitions by: BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = gitUserName;
|
|
|
|
declare function gitUserName(options?: gitUserName.Options): string | null;
|
|
|
|
declare namespace gitUserName {
|
|
interface Options {
|
|
cwd?: string;
|
|
path?: string;
|
|
gitconfig?: string;
|
|
}
|
|
}
|