From 017012c60ab50eea2cf32a082f18ab7f42d86f13 Mon Sep 17 00:00:00 2001 From: jin Date: Thu, 28 Nov 2024 12:15:04 +0300 Subject: [PATCH] fixed types --- view/view/view.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/view/view.ts b/view/view/view.ts index d0b1a16192..bdbc210924 100644 --- a/view/view/view.ts +++ b/view/view/view.ts @@ -1,6 +1,6 @@ namespace $ { - export type $mol_view_content = $mol_view|Node|string|number|boolean + export type $mol_view_content = $mol_view|Node|string|number|boolean|null export function $mol_view_visible_width() { return $mol_window.size().width @@ -86,7 +86,7 @@ namespace $ { /// Raw child views sub() { - return [] as readonly ($mol_view|Node|string|number|boolean)[] + return [] as readonly $mol_view_content[] } /// Visible sub views with defined ambient context