mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
[@types/nodegit] Fix rev-walk sorting function to take a variable number of arguments (#35888)
This commit is contained in:
Vendored
+1
-1
@@ -32,7 +32,7 @@ export class Revwalk {
|
||||
/**
|
||||
* Set the sort order for the revwalk. This function takes variable arguments like revwalk.sorting(NodeGit.RevWalk.Topological, NodeGit.RevWalk.Reverse).
|
||||
*/
|
||||
sorting(sort: number): void;
|
||||
sorting(...sort: number[]): void;
|
||||
fastWalk(maxCount: number): Promise<any>;
|
||||
fileHistoryWalk(filePath: string, maxCount: number): Promise<any[]>;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user