1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-30 23:44:55 +02:00

Tools: updated plugin types

This commit is contained in:
Laurent Cozic
2020-10-21 00:55:10 +01:00
parent 995034c53f
commit 6eebeca259
24 changed files with 102 additions and 56 deletions

View File

@ -14,7 +14,7 @@ export interface CommandContext {
}
export interface CommandRuntime {
execute(context:CommandContext, ...args:any[]):Promise<any>
execute(context:CommandContext, ...args:any[]):Promise<any | void>
enabledCondition?: EnabledCondition;
// Used for the (optional) toolbar button title
mapStateToTitle?(state:any):string,