mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Added - KoliteAsyncCommand interface (makes "isExecuting" public)
This commit is contained in:
1 parent
9ff1cf69b3
commit
7197351c94
1 file changed
+5
-1
Vendored
+5
-1
@@ -58,6 +58,10 @@ interface KoliteCommand {
|
||||
execute(...args: any[]): any;
|
||||
}
|
||||
|
||||
interface KoliteAsyncCommand extends KoliteCommand {
|
||||
isExecuting: KnockoutObservable<boolean>;
|
||||
}
|
||||
|
||||
interface KoLiteCommandOptions {
|
||||
execute?: any;
|
||||
canExecute?: (isExecuting: boolean) => any;
|
||||
@@ -65,7 +69,7 @@ interface KoLiteCommandOptions {
|
||||
|
||||
interface KnockoutStatic {
|
||||
command(options: KoLiteCommandOptions): KoliteCommand;
|
||||
asyncCommand(optons: KoLiteCommandOptions): KoliteCommand;
|
||||
asyncCommand(optons: KoLiteCommandOptions): KoliteAsyncCommand;
|
||||
}
|
||||
|
||||
interface KnockoutUtils {
|
||||
|
||||
Reference in new issue
Block a user