mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 07:40:10 +00:00
allow JS strings and string arrays where Git.Strarray is required, because nodegit can automatically convert it to Git.Strarray
This commit is contained in:
2
types/nodegit/diff-options.d.ts
vendored
2
types/nodegit/diff-options.d.ts
vendored
@@ -4,7 +4,7 @@ export interface DiffOptions {
|
||||
version?: number;
|
||||
flags?: number;
|
||||
ignoreSubmodules?: number;
|
||||
pathspec?: Strarray;
|
||||
pathspec?: Strarray | string | string[];
|
||||
notifyCb?: Function;
|
||||
contextLines?: number;
|
||||
interhunkLines?: number;
|
||||
|
||||
Reference in New Issue
Block a user