mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
nodegit: marked Index.getByPath() stage parameter as optional (#31503)
This commit is contained in:
parent
2c6e021f06
commit
ce45bccbfd
2
types/nodegit/index_.d.ts
vendored
2
types/nodegit/index_.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user