Format VnodeElementTag fix

This commit is contained in:
Alexander Skvortsov 2021-12-12 18:38:19 -05:00
parent e1c6028dce
commit 959662f2e2

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 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.