Evan You 5 anni fa
parent
commit
68416e988f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/runtime-core/src/componentSlots.ts

+ 1 - 1
packages/runtime-core/src/componentSlots.ts

@@ -70,7 +70,7 @@ const normalizeSlot = (
       )
     }
     return normalizeSlotValue(rawSlot(props))
-  }, ctx)
+  }, ctx) as Slot
 
 const normalizeObjectSlots = (rawSlots: RawSlots, slots: InternalSlots) => {
   const ctx = rawSlots._ctx