mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 11:02:11 +08:00
Fixes for missing parts of the definition based on the CI test on DefinitelyTyped
This commit is contained in:
4
commangular/commangular-mock.d.ts
vendored
4
commangular/commangular-mock.d.ts
vendored
@@ -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;
|
||||
|
||||
|
||||
2
commangular/commangular.d.ts
vendored
2
commangular/commangular.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user