File tree Expand file tree Collapse file tree 4 files changed +19
-2
lines changed
packages/runtime-core/src/components Expand file tree Collapse file tree 4 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,9 @@ if (__COMPAT__) {
283
283
export const BaseTransition = BaseTransitionImpl as unknown as {
284
284
new ( ) : {
285
285
$props : BaseTransitionProps < any >
286
+ $slots : {
287
+ default ( ) : VNode [ ]
288
+ }
286
289
}
287
290
}
288
291
Original file line number Diff line number Diff line change @@ -344,6 +344,9 @@ export const KeepAlive = KeepAliveImpl as any as {
344
344
__isKeepAlive : true
345
345
new ( ) : {
346
346
$props : VNodeProps & KeepAliveProps
347
+ $slots : {
348
+ default ( ) : VNode [ ]
349
+ }
347
350
}
348
351
}
349
352
Original file line number Diff line number Diff line change @@ -104,7 +104,13 @@ export const Suspense = (__FEATURE_SUSPENSE__
104
104
? SuspenseImpl
105
105
: null ) as unknown as {
106
106
__isSuspense : true
107
- new ( ) : { $props : VNodeProps & SuspenseProps }
107
+ new ( ) : {
108
+ $props : VNodeProps & SuspenseProps
109
+ $slots : {
110
+ default ( ) : VNode [ ]
111
+ fallback ( ) : VNode [ ]
112
+ }
113
+ }
108
114
}
109
115
110
116
function triggerEvent (
Original file line number Diff line number Diff line change @@ -393,7 +393,12 @@ function hydrateTeleport(
393
393
// Force-casted public typing for h and TSX props inference
394
394
export const Teleport = TeleportImpl as unknown as {
395
395
__isTeleport : true
396
- new ( ) : { $props : VNodeProps & TeleportProps }
396
+ new ( ) : {
397
+ $props : VNodeProps & TeleportProps
398
+ $slots : {
399
+ default ( ) : VNode [ ]
400
+ }
401
+ }
397
402
}
398
403
399
404
function updateCssVars ( vnode : VNode ) {
You can’t perform that action at this time.
0 commit comments