diff --git a/framework/core/js/src/@types/global.d.ts b/framework/core/js/src/@types/global.d.ts index e3ff2fe27..37d6b81e7 100644 --- a/framework/core/js/src/@types/global.d.ts +++ b/framework/core/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.