mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-01 19:24:27 +00:00
Added Cherrypick
This commit is contained in:
9
types/nodegit/cherry-pick.d.ts
vendored
Normal file
9
types/nodegit/cherry-pick.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Repository } from './repository';
|
||||
import { Commit } from './commit';
|
||||
import { MergeOptions } from './merge-options';
|
||||
|
||||
export class Cherrypick {
|
||||
static cherrypick(repo: Repository, commit: Commit, options?: CherrypickOptions): Promise<number>;
|
||||
static commit(repo: Repository, cherrypickCommit: Commit, ourCommit: Commit, mainline: number, mergeOptions?: MergeOptions): Promise<number>;
|
||||
static initOptions(opts: CherrypickOptions, version: number): number;
|
||||
}
|
||||
1
types/nodegit/index.d.ts
vendored
1
types/nodegit/index.d.ts
vendored
@@ -16,6 +16,7 @@ export { CertX509 } from './cert-x509';
|
||||
export { Cert } from './cert';
|
||||
export { CheckoutOptions } from './checkout-options';
|
||||
export { Checkout } from './checkout';
|
||||
export { Cherrypick } from './cherry-pick';
|
||||
export { CloneOptions } from './clone-options';
|
||||
export { Clone } from './clone';
|
||||
export { Commit } from './commit';
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
"cert.d.ts",
|
||||
"checkout-options.d.ts",
|
||||
"checkout.d.ts",
|
||||
"cherry-pick.d.ts",
|
||||
"clone-options.d.ts",
|
||||
"clone.d.ts",
|
||||
"commit.d.ts",
|
||||
|
||||
Reference in New Issue
Block a user