diff --git a/kolite/kolite.d.ts b/kolite/kolite.d.ts index 6310fcad49..c9535411b1 100644 --- a/kolite/kolite.d.ts +++ b/kolite/kolite.d.ts @@ -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 {