mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Fix return type of all functions
This commit is contained in:
Vendored
+3
-3
@@ -18,11 +18,11 @@ declare module "usage" {
|
||||
keepHistory:boolean;
|
||||
}
|
||||
|
||||
export function lookup(pid:number, callback:(err:Error, result:ResultObject) => void);
|
||||
export function lookup(pid:number, options:Options, callback:(err:Error, result:ResultObject) => void);
|
||||
export function lookup(pid:number, callback:(err:Error, result:ResultObject) => void):void;
|
||||
export function lookup(pid:number, options:Options, callback:(err:Error, result:ResultObject) => void):void;
|
||||
|
||||
//Only availible on linux
|
||||
export function clearHistory(pid?:number);
|
||||
export function clearHistory(pid?:number):void;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user