mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
fix(nodegit): make parameters optional
This commit is contained in:
Vendored
+2
-2
@@ -78,7 +78,7 @@ export class Repository {
|
||||
/**
|
||||
* Creates a branch with the passed in name pointing to the commit
|
||||
*/
|
||||
createBranch(name: string, commit: Commit | string | Oid, force: boolean): Promise<Reference>;
|
||||
createBranch(name: string, commit: Commit | string | Oid, force?: boolean): Promise<Reference>;
|
||||
/**
|
||||
* Look up a refs's commit.
|
||||
*/
|
||||
@@ -175,7 +175,7 @@ export class Repository {
|
||||
* Fetches from all remotes. This is done in series due to deadlocking issues with fetching from many remotes that can happen.
|
||||
*/
|
||||
fetchAll(fetchOptions?: FetchOptions, callback?: Function): Promise<void>;
|
||||
mergeBranches(to: string | Reference, from: string | Reference, signature: Signature, mergePreference: Merge.PREFERENCE, mergeOptions?: MergeOptions): Promise<Oid>;
|
||||
mergeBranches(to: string | Reference, from: string | Reference, signature?: Signature, mergePreference?: Merge.PREFERENCE, mergeOptions?: MergeOptions): Promise<Oid>;
|
||||
/**
|
||||
* Rebases a branch onto another branch
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user