Merge pull request #3604 from toha73/master

KoLiteCommandOptions.execute must be a function
This commit is contained in:
Masahiro Wakame
2015-02-05 22:15:38 +09:00

4
kolite/kolite.d.ts vendored
View File

@@ -63,13 +63,13 @@ interface KoliteAsyncCommand extends KoliteCommand {
}
interface KoLiteCommandOptions {
execute?: any;
execute(...args: any[]): any;
canExecute?: (isExecuting: boolean) => any;
}
interface KnockoutStatic {
command(options: KoLiteCommandOptions): KoliteCommand;
asyncCommand(optons: KoLiteCommandOptions): KoliteAsyncCommand;
asyncCommand(options: KoLiteCommandOptions): KoliteAsyncCommand;
}
interface KnockoutUtils {