mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Format VnodeElementTag fix
This commit is contained in:
4
framework/core/js/src/@types/global.d.ts
vendored
4
framework/core/js/src/@types/global.d.ts
vendored
@@ -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.
|
||||
|
Reference in New Issue
Block a user