From b13bc70339929e98f62e6f2e24d458f070906c6d Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Sun, 12 Dec 2021 18:38:19 -0500 Subject: [PATCH] Format VnodeElementTag fix --- js/src/@types/global.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/src/@types/global.d.ts b/js/src/@types/global.d.ts index 37d6b81e7..7e537b1ec 100644 --- a/js/src/@types/global.d.ts +++ b/js/src/@types/global.d.ts @@ -21,7 +21,9 @@ declare type KeysOfType = { */ declare type KeyOfType = KeysOfType[keyof Type]; -declare type VnodeElementTag, State = Record> = string | import('mithril').ComponentTypes; +declare type VnodeElementTag, State = Record> = + | string + | import('mithril').ComponentTypes; /** * @deprecated Please import `app` from a namespace instead of using it as a global variable.