From 4eca12001aaf647b99805653266dedabf0004640 Mon Sep 17 00:00:00 2001 From: nathangray Date: Fri, 31 Jan 2020 09:25:11 -0700 Subject: [PATCH] Mark some optional parameters --- 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 3634df97b8..1549d644c2 100644 --- a/api/js/jsapi/egw_global.d.ts +++ b/api/js/jsapi/egw_global.d.ts @@ -284,7 +284,7 @@ declare interface IegwGlobal * @param {string} _name name / key in the registry, eg. 'view' * @return {string|object|boolean} false if $app is not registered, otherwise string with the value for $name */ - link_get_registry(_app : string, _name : string) : string|object|boolean; + link_get_registry(_app : string, _name? : string) : string|object|boolean; /** * Get mime-type information from app-registry * @@ -330,7 +330,7 @@ declare interface IegwGlobal * if string is used ambersands in vars have to be already urlencoded as '%26', function ensures they get NOT double encoded * @return {string} generated url */ - link(_url : string, _extravars : string|object) : string; + link(_url : string, _extravars? : string|object) : string; /** * Query a title of _app/_id *