From 68fb093c9e094175cdf495aece94ea8e3081bc18 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 16 Sep 2021 15:23:48 +0200 Subject: [PATCH] don't require mount args in mountView, like in UIView interface --- src/platform/web/ui/general/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/web/ui/general/utils.ts b/src/platform/web/ui/general/utils.ts index a3d6e7ac..83d02f4c 100644 --- a/src/platform/web/ui/general/utils.ts +++ b/src/platform/web/ui/general/utils.ts @@ -17,7 +17,7 @@ limitations under the License. import {UIView, IMountArgs} from "./types"; import {tag} from "./html"; -export function mountView(view: UIView, mountArgs: IMountArgs): HTMLElement { +export function mountView(view: UIView, mountArgs?: IMountArgs): HTMLElement { let node; try { node = view.mount(mountArgs);