From bf1ed9a0d65eeeb7c76f8b76459a903f90b38117 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 27 May 2020 11:11:06 +0200 Subject: [PATCH] Remove type restriction for getEntry, the data send to client could have all sort of types --- api/js/etemplate/et2_core_arrayMgr.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_core_arrayMgr.ts b/api/js/etemplate/et2_core_arrayMgr.ts index cfa62c179b..97afdf6946 100644 --- a/api/js/etemplate/et2_core_arrayMgr.ts +++ b/api/js/etemplate/et2_core_arrayMgr.ts @@ -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; }