mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-28 17:35:49 +08:00
KoLiteCommandOptions.execute must be a function
Before this it caused the options-object to be of any object (function, number, array etc).
This commit is contained in:
4
kolite/kolite.d.ts
vendored
4
kolite/kolite.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user