1
0
mirror of https://github.com/flarum/core.git synced 2025-08-02 22:47:33 +02:00

Format VnodeElementTag fix

This commit is contained in:
Alexander Skvortsov
2021-12-12 18:38:19 -05:00
parent a90140928c
commit b13bc70339

View File

@@ -21,7 +21,9 @@ 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 | import('mithril').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.