mirror of
https://github.com/flarum/framework.git
synced 2025-02-23 11:47:23 +08:00
Format VnodeElementTag fix
This commit is contained in:
parent
e1c6028dce
commit
959662f2e2
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user