]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix types
authorEvan You <yyx990803@gmail.com>
Fri, 5 Mar 2021 17:17:27 +0000 (12:17 -0500)
committerEvan You <yyx990803@gmail.com>
Fri, 5 Mar 2021 23:28:12 +0000 (18:28 -0500)
packages/runtime-core/src/componentSlots.ts

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