From a7940fe4f63dab0f581c99f8193f8b3dd5b64b57 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 12 May 2022 11:03:18 -0600 Subject: [PATCH] Update declaration signature --- api/js/jsapi/egw_global.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/js/jsapi/egw_global.d.ts b/api/js/jsapi/egw_global.d.ts index eed999d021..e89fe58d78 100644 --- a/api/js/jsapi/egw_global.d.ts +++ b/api/js/jsapi/egw_global.d.ts @@ -913,9 +913,9 @@ declare interface IegwWndLocal extends IegwGlobal * @param {function} _callback callback function which should be called upon a "data" response is received * @param {object} _sender is the reference object the callback function should get * @param {function} _callbeforesend optional callback function which can modify the parameters, eg. to do some own queuing - * @return string uid of the queued request + * @return Promise */ - jsonq(_menuaction : string, _parameters? : any[], _callback? : Function, _sender? : object, _callbeforesend? : Function) : string; + jsonq(_menuaction : string, _parameters? : any[], _callback? : Function, _sender? : object, _callbeforesend? : Function) : Promise; /** * implemented in egw_message.js