1
0
mirror of https://github.com/flarum/core.git synced 2025-08-01 14:10:37 +02:00

Fix import of mithril for VnodeElementTag usage

This commit is contained in:
Alexander Skvortsov
2021-12-12 15:42:49 -05:00
parent 02a57bfa8e
commit cc69211977

View File

@@ -21,7 +21,7 @@ declare type KeysOfType<Type extends object, Match> = {
*/ */
declare type KeyOfType<Type extends object, Match> = KeysOfType<Type, Match>[keyof Type]; declare type KeyOfType<Type extends object, Match> = KeysOfType<Type, Match>[keyof Type];
declare type VnodeElementTag<Attrs = Record<string, unknown>, State = Record<string, unknown>> = string | ComponentTypes<Attrs, State>; declare type VnodeElementTag<Attrs = Record<string, unknown>, State = Record<string, unknown>> = string | import('mithril').ComponentTypes<Attrs, State>;
/** /**
* @deprecated Please import `app` from a namespace instead of using it as a global variable. * @deprecated Please import `app` from a namespace instead of using it as a global variable.