Skip to content
Snippets Groups Projects
Commit 4dba38a4 authored by Michal Malý's avatar Michal Malý
Browse files

ReDNATCO plugin stage 23

parent b532c7da
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ export class ReDNATCOMspApiImpl implements ReDNATCOMspApi.Object {
this.target = target;
}
command(cmd: ReDNATCOMspApi.Command) {
async command(cmd: ReDNATCOMspApi.Command) {
this.check();
this.target!.command(cmd);
}
......
......@@ -112,7 +112,7 @@ export namespace ReDNATCOMspApi {
}
export interface Object {
command: (cmd: Command) => void;
command: (cmd: Command) => Promise<void>;
event: (evt: Event) => void;
init: (elemId: string, onEvent?: (evt: Event) => void) => void;
isReady: () => boolean;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment