types(runtime-core): tweak the type of KeepAlive (#1871)
This commit is contained in:
parent
075d769e0b
commit
7f82428680
@ -285,6 +285,7 @@ const KeepAliveImpl = {
|
|||||||
// export the public type for h/tsx inference
|
// export the public type for h/tsx inference
|
||||||
// also to avoid inline import() in generated d.ts files
|
// also to avoid inline import() in generated d.ts files
|
||||||
export const KeepAlive = (KeepAliveImpl as any) as {
|
export const KeepAlive = (KeepAliveImpl as any) as {
|
||||||
|
__isKeepAlive: true
|
||||||
new (): {
|
new (): {
|
||||||
$props: VNodeProps & KeepAliveProps
|
$props: VNodeProps & KeepAliveProps
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user