From 24d5b06ebbebfaf6e57a5b385051b5339c50a0e4 Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 23 Jan 2020 03:17:21 -0700 Subject: [PATCH] Type parameter is optional --- api/js/etemplate/et2_core_widget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_core_widget.ts b/api/js/etemplate/et2_core_widget.ts index 251efac8a5..669105ab27 100644 --- a/api/js/etemplate/et2_core_widget.ts +++ b/api/js/etemplate/et2_core_widget.ts @@ -463,7 +463,7 @@ Comment this out (for now) * @param _type is an optional parameter which specifies a class/interface * the elements have to be instanceOf. */ - iterateOver(_callback, _context, _type) + iterateOver(_callback, _context, _type?) { if (typeof _type == "undefined") { _type = et2_widget;