mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 06:17:04 +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:
Vendored
+1
-1
@@ -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