Added Giterr

This commit is contained in:
Dolan
2017-06-07 02:22:30 +01:00
parent 77b7713627
commit a0ed80ee2d
3 changed files with 9 additions and 0 deletions

7
types/nodegit/git-err.d.ts vendored Normal file
View File

@@ -0,0 +1,7 @@
export class Giterr {
static errClear(): void;
static errDetach(cpy: NodeGit.Error): number;
static errLast(): Error;
static errSetOom(): void;
static errSetString(error_class: number, string: string): void;
}

View File

@@ -16,6 +16,7 @@ export { DiffPerfdata } from './diff-perf-data';
export { Diff } from './diff';
export { Enums } from './enums';
export { FetchOptions } from './fetch-options';
export { Giterr } from './git-err';
export { Hashsig } from './hash-sig';
export { Index } from './index_';
export { IndexEntry } from './index-entry';

View File

@@ -29,6 +29,7 @@
"diff.d.ts",
"enums.d.ts",
"fetch-options.d.ts",
"git-err.d.ts",
"hash-sig.d.ts",
"ignore.d.ts",
"index-entry.d.ts",