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.