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
@@ -62,7 +62,7 @@ export class Remote {
stop(): void;
updateTips(callbacks: RemoteCallbacks, updateFetchhead: number, downloadTags: number, reflogMessage: string): number;
upload(refspecs: Strarray, opts?: PushOptions): number;
upload(refspecs: Strarray | string | string[], opts?: PushOptions): number;
url(): string;
/**
* Lists advertised references from a remote. You must connect to the remote before using referenceList.