Skip to content

Commit 7f82428

Browse files
authored
types(runtime-core): tweak the type of KeepAlive (#1871)
1 parent 075d769 commit 7f82428

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/runtime-core/src/components/KeepAlive.ts

+1
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ const KeepAliveImpl = {
285285
// export the public type for h/tsx inference
286286
// also to avoid inline import() in generated d.ts files
287287
export const KeepAlive = (KeepAliveImpl as any) as {
288+
__isKeepAlive: true
288289
new (): {
289290
$props: VNodeProps & KeepAliveProps
290291
}

0 commit comments

Comments
 (0)