diff --git a/api/js/egw_action/egw_action.d.ts b/api/js/egw_action/egw_action.d.ts index b531984cc1..1d1a25ec11 100644 --- a/api/js/egw_action/egw_action.d.ts +++ b/api/js/egw_action/egw_action.d.ts @@ -145,7 +145,7 @@ declare class egwAction { previous: string; close: string; }; - updateActions(_actions: any, _app: string): void; + updateActions(_actions: any, _app?: string): void; not_disableClass(_action: any, _senders: any, _target: any): boolean; enableClass(_action: any, _senders: any, _target: any): boolean; enableId(_action: any, _senders: any, _target: any): any; diff --git a/api/js/jsapi/egw_global.d.ts b/api/js/jsapi/egw_global.d.ts index 5b3eb8a2c8..cb820878f2 100644 --- a/api/js/jsapi/egw_global.d.ts +++ b/api/js/jsapi/egw_global.d.ts @@ -461,7 +461,7 @@ declare interface IegwGlobal * @param {string} key * @param {string | array} value */ - setSessionItem(application : string, key : string, value : string[]) : void; + setSessionItem(application : string, key : string, value : string[] | string) : void; /** * Remove a value from session storage * @param {string} application