mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
Added DiffOptions
This commit is contained in:
16
types/nodegit/diff-options.d.ts
vendored
Normal file
16
types/nodegit/diff-options.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Strarray } from './str-array';
|
||||
|
||||
export interface DiffOptions {
|
||||
version: number;
|
||||
flags: number;
|
||||
ignoreSubmodules: number;
|
||||
pathspec: Strarray;
|
||||
notifyCb: Function;
|
||||
notifyPayload: void;
|
||||
contextLines: number;
|
||||
interhunkLines: number;
|
||||
idAbbrev: number;
|
||||
maxSize: number;
|
||||
oldPrefix: string;
|
||||
newPrefix: string;
|
||||
}
|
||||
1
types/nodegit/index.d.ts
vendored
1
types/nodegit/index.d.ts
vendored
@@ -12,6 +12,7 @@ export { Config } from './config';
|
||||
export { ConvenientPatch } from './convenient-patch';
|
||||
export { DiffDelta } from './diff-delta';
|
||||
export { DiffFile } from './diff-file';
|
||||
export { DiffOptions } from './diff-options';
|
||||
export { DiffPerfdata } from './diff-perf-data';
|
||||
export { Diff } from './diff';
|
||||
export { Enums } from './enums';
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"convenient-patch.d.ts",
|
||||
"diff-delta.d.ts",
|
||||
"diff-file.d.ts",
|
||||
"diff-options.d.ts",
|
||||
"diff-perf-data.d.ts",
|
||||
"diff.d.ts",
|
||||
"enums.d.ts",
|
||||
|
||||
Reference in New Issue
Block a user