From cc692119774008560141a2938aa9f066459898f7 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Sun, 12 Dec 2021 15:42:49 -0500 Subject: [PATCH] Fix import of `mithril` for `VnodeElementTag` usage --- js/src/@types/global.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/@types/global.d.ts b/js/src/@types/global.d.ts index e3ff2fe27..37d6b81e7 100644 --- a/js/src/@types/global.d.ts +++ b/js/src/@types/global.d.ts @@ -21,7 +21,7 @@ declare type KeysOfType = { */ declare type KeyOfType = KeysOfType[keyof Type]; -declare type VnodeElementTag, State = Record> = string | 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.