mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
[NodeGit] Remote.create is async (#43310)
Reference: https://www.nodegit.org/api/remote/#create
This commit is contained in:
parent
1168acc915
commit
155dd3426e
2
types/nodegit/remote.d.ts
vendored
2
types/nodegit/remote.d.ts
vendored
@ -26,7 +26,7 @@ export namespace Remote {
|
||||
export class Remote {
|
||||
static addFetch(repo: Repository, remote: string, refspec: string): number;
|
||||
static addPush(repo: Repository, remote: string, refspec: string): number;
|
||||
static create(repo: Repository, name: string, url: string): Remote;
|
||||
static create(repo: Repository, name: string, url: string): Promise<Remote>;
|
||||
static createAnonymous(repo: Repository, url: string): Promise<Remote>;
|
||||
static createDetached(url: string): Promise<Remote>;
|
||||
static createWithFetchspec(repo: Repository, name: string, url: string, fetch: string): Promise<Remote>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user