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:
Erik Moldtmann
2018-03-27 17:25:37 +02:00
parent 8697fcc76e
commit fbe95c0b1a
11 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -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>;