1.0.4 • Published 2 years ago
@types/git-repo-name v1.0.4
Installation
npm install --save @types/git-repo-name
Summary
This package contains type definitions for git-repo-name (https://github.com/jonschlinkert/git-repo-name).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-repo-name.
index.d.ts
// Type definitions for git-repo-name 1.0
// Project: https://github.com/jonschlinkert/git-repo-name
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = gitRepoName;
declare function gitRepoName(options?: string | gitRepoName.Options): Promise<string>;
declare function gitRepoName(callback: (err: Error | null, repoName: string) => void): void;
declare function gitRepoName(
options: string | gitRepoName.Options,
callback: (err: Error | null, repoName: string) => void
): void;
declare namespace gitRepoName {
function promise(options?: string | Options): Promise<string>;
function sync(options?: string | Options): string;
interface Options {
cwd?: string | undefined;
path?: string | undefined;
}
}
Additional Details
- Last updated: Thu, 08 Jul 2021 12:02:08 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by BendingBender.