mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00: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:
parent
9e9464c970
commit
aaf7d88e11
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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user