Fixes for missing parts of the definition based on the CI test on DefinitelyTyped

This commit is contained in:
Hiraash Thawfeek
2015-09-29 23:31:03 +05:30
parent e32a300f7b
commit 683a6e7ec0
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ declare module commangular {
/**
* Mock dispatch function for testing commands.
*/
dispatch( ec: ICommandCall, callback: Function );
dispatch( ec: ICommandCall, callback: Function ): void;
}
interface ICommandCall {
@@ -69,5 +69,5 @@ declare module commangular {
* @param callback The function that will be called upon the completion of the command
* function should expecte an ICommandInfo paramter.
*/
declare function dispatch( ec: commangular.ICommandCall, callback: Function );
declare function dispatch( ec: commangular.ICommandCall, callback: Function ): void;

View File

@@ -73,7 +73,7 @@ declare module commangular {
/**
* TBD
*/
resolver( commandName: string, resolverFunction ) : void;
resolver( commandName: string, resolverFunction : Function ) : void;
/**
* Clears all commands and aspects registered with commangular.