Remove type restriction for getEntry, the data send to client could have all sort of types

This commit is contained in:
Hadi Nategh 2020-05-27 11:11:06 +02:00
parent f9e0d9a6c2
commit bf1ed9a0d6

View File

@ -177,7 +177,7 @@ export class et2_arrayMgr
* @param _skipEmpty returns null if _key is not present in this content array.
* Defaults to false.
*/
getEntry(_key: string, _referenceInto?: boolean, _skipEmpty?: boolean): string | object {
getEntry(_key: string, _referenceInto?: boolean, _skipEmpty?: boolean): any {
if (typeof _referenceInto == "undefined") {
_referenceInto = false;
}