diff --git a/types/nodegit/remote.d.ts b/types/nodegit/remote.d.ts index ddc2988396..a8525645f5 100644 --- a/types/nodegit/remote.d.ts +++ b/types/nodegit/remote.d.ts @@ -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; static createAnonymous(repo: Repository, url: string): Promise; static createDetached(url: string): Promise; static createWithFetchspec(repo: Repository, name: string, url: string, fetch: string): Promise;