mirror of https://github.com/vuejs/core.git
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
|
||||
// also to avoid inline import() in generated d.ts files
|
||||
export const KeepAlive = (KeepAliveImpl as any) as {
|
||||
__isKeepAlive: true
|
||||
new (): {
|
||||
$props: VNodeProps & KeepAliveProps
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue