diff --git a/types/nodegit/index.d.ts b/types/nodegit/index.d.ts index 2c955933d1..b0a68f67b5 100644 --- a/types/nodegit/index.d.ts +++ b/types/nodegit/index.d.ts @@ -67,6 +67,7 @@ export { Openssl } from './open-ssl'; export { Packbuilder } from './pack-builder'; export { Pathspec } from './path-spec'; export { ProxyOptions } from './proxy-options'; +export { Proxy } from './proxy'; export { PushOptions } from './push-options'; export { PushUpdate } from './push-update'; export { Push } from './push'; diff --git a/types/nodegit/proxy.d.ts b/types/nodegit/proxy.d.ts new file mode 100644 index 0000000000..8b4806a2e0 --- /dev/null +++ b/types/nodegit/proxy.d.ts @@ -0,0 +1,5 @@ +import { ProxyOptions } from './proxy-options'; + +export class Proxy { + static initOptions(opts: ProxyOptions, version: number): number; +} diff --git a/types/nodegit/tsconfig.json b/types/nodegit/tsconfig.json index 17b5c3fa6e..394ec731df 100644 --- a/types/nodegit/tsconfig.json +++ b/types/nodegit/tsconfig.json @@ -81,6 +81,7 @@ "pack-builder.d.ts", "path-spec.d.ts", "proxy-options.d.ts", + "proxy.d.ts", "push-options.d.ts", "push-update.d.ts", "push.d.ts",