Mark some optional parameters

This commit is contained in:
nathangray 2020-01-31 09:25:11 -07:00
parent a27f0952f6
commit 4eca12001a

View File

@ -284,7 +284,7 @@ declare interface IegwGlobal
* @param {string} _name name / key in the registry, eg. 'view' * @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 * @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 * 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 * 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 * @return {string} generated url
*/ */
link(_url : string, _extravars : string|object) : string; link(_url : string, _extravars? : string|object) : string;
/** /**
* Query a title of _app/_id * Query a title of _app/_id
* *