diff --git a/types/nodegit/index_.d.ts b/types/nodegit/index_.d.ts index aeea3c9b5a..932691a89c 100644 --- a/types/nodegit/index_.d.ts +++ b/types/nodegit/index_.d.ts @@ -37,7 +37,7 @@ export class Index { conflictRemove(path: string): number; entryCount(): number; getByIndex(n: number): IndexEntry; - getByPath(path: string, stage: number): IndexEntry; + getByPath(path: string, stage?: number): IndexEntry; hasConflicts(): boolean; owner(): Repository; path(): string;