mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +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
@@ -23,7 +23,7 @@ export class Pathspec {
|
||||
static matchListEntrycount(m: any): number;
|
||||
static matchListFailedEntry(m: any, pos: number): string;
|
||||
static matchListFailedEntrycount(m: any): number;
|
||||
static create(pathspec: Strarray): Pathspec;
|
||||
static create(pathspec: Strarray | string | string[]): Pathspec;
|
||||
|
||||
free(): void;
|
||||
matchDiff(diff: Diff, flags: number): Promise<any>;
|
||||
|
||||
Reference in New Issue
Block a user