Add createDetached definition (#37686)

createDetached was added in [0.24.0](c478a67646 (diff-f6876d109ef3a13582ff4775489d636aR118))

Docs: https://www.nodegit.org/api/remote/#createDetached
This commit is contained in:
Brian Jacobel 2019-08-19 14:16:32 -04:00 committed by Sheetal Nandi
parent 692bc8ab38
commit 35ea72f220

View File

@ -28,6 +28,7 @@ export class Remote {
static addPush(repo: Repository, remote: string, refspec: string): number;
static create(repo: Repository, name: string, url: string): 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>;
static delete(repo: Repository, name: string): Promise<number>;
static initCallbacks(opts: RemoteCallbacks, version: number): number;