diff --git a/types/nodegit/diff-binary-file.d.ts b/types/nodegit/diff-binary-file.d.ts new file mode 100644 index 0000000000..46b67f406e --- /dev/null +++ b/types/nodegit/diff-binary-file.d.ts @@ -0,0 +1,6 @@ +export class DiffBinaryFile { + type: number; + data: string; + datalen: number; + inflatedlen: number; +} diff --git a/types/nodegit/index.d.ts b/types/nodegit/index.d.ts index 2ae963d13e..b30891f96f 100644 --- a/types/nodegit/index.d.ts +++ b/types/nodegit/index.d.ts @@ -10,6 +10,7 @@ export { CheckoutOptions } from './checkout-options'; export { Commit } from './commit'; export { Config } from './config'; export { ConvenientPatch } from './convenient-patch'; +export { DiffBinaryFile } from './diff-binary-file'; export { DiffDelta } from './diff-delta'; export { DiffFile } from './diff-file'; export { DiffHunk } from './diff-hunk'; diff --git a/types/nodegit/tsconfig.json b/types/nodegit/tsconfig.json index 645c75ffea..c9a324a8dc 100644 --- a/types/nodegit/tsconfig.json +++ b/types/nodegit/tsconfig.json @@ -23,6 +23,7 @@ "commit.d.ts", "config.d.ts", "convenient-patch.d.ts", + "diff-binary-file.d.ts", "diff-delta.d.ts", "diff-file.d.ts", "diff-hunk.d.ts",