node-git: improved definition to fix tests

This commit is contained in:
Igor Oleinikov
2013-12-22 14:06:22 +04:00
parent e720d1ddfb
commit 81628bea7c

View File

@@ -17,7 +17,7 @@ declare module "git" {
git(functionName:any, options:any, ...args:any[]):void; // last element is callback
call_git(prefix:string, command:any, postfix:string, options:any, args:any, callback:Function):void;
call_git(prefix:string, command:any, postfix:string, options:any, args:any, callback: (error: any, result: string) => void):void;
rev_list(callback:Function):void;