From 5c1cf0697d657f4ed0970a8caa72091bbb33728e Mon Sep 17 00:00:00 2001 From: Dolan Date: Wed, 7 Jun 2017 00:43:37 +0100 Subject: [PATCH] Added Push --- types/nodegit/index.d.ts | 1 + types/nodegit/push.d.ts | 6 ++++++ types/nodegit/tsconfig.json | 1 + 3 files changed, 8 insertions(+) create mode 100644 types/nodegit/push.d.ts diff --git a/types/nodegit/index.d.ts b/types/nodegit/index.d.ts index eca21bec1c..db7b3c6ed0 100644 --- a/types/nodegit/index.d.ts +++ b/types/nodegit/index.d.ts @@ -27,6 +27,7 @@ export { Odb } from './odb'; export { Oidarray } from './oid-array'; export { Oid } from './oid'; export { PushOptions } from './push-options'; +export { Push } from './push'; export { RebaseOperation } from './rebase-operation'; export { Rebase, RebaseOptions } from './rebase'; export { Refdb } from './ref-db'; diff --git a/types/nodegit/push.d.ts b/types/nodegit/push.d.ts new file mode 100644 index 0000000000..26d8f07b60 --- /dev/null +++ b/types/nodegit/push.d.ts @@ -0,0 +1,6 @@ +import { RemoteCallbacks } from './remote-callbacks'; +import { PushOptions } from './push-options'; + +export class Push { + static initOptions(opts: PushOptions, version: number): number; +} diff --git a/types/nodegit/tsconfig.json b/types/nodegit/tsconfig.json index 3753e1d693..5022d35c65 100644 --- a/types/nodegit/tsconfig.json +++ b/types/nodegit/tsconfig.json @@ -41,6 +41,7 @@ "oid-array.d.ts", "oid.d.ts", "push-options.d.ts", + "push.d.ts", "rebase-operation.d.ts", "rebase.d.ts", "ref-db.d.ts",