mirror of
https://github.com/flarum/framework.git
synced 2025-02-02 01:11:25 +08:00
Fix import of mithril
for VnodeElementTag
usage
This commit is contained in:
parent
02a57bfa8e
commit
cc69211977
2
js/src/@types/global.d.ts
vendored
2
js/src/@types/global.d.ts
vendored
|
@ -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 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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user