We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0792656 commit bdc4322Copy full SHA for bdc4322
packages/runtime-vapor/src/componentSlots.ts
@@ -39,11 +39,11 @@ export interface DynamicSlot {
39
40
export type DynamicSlots = () => (DynamicSlot | DynamicSlot[])[]
41
42
-export const initSlots = (
+export function initSlots(
43
instance: ComponentInternalInstance,
44
rawSlots: InternalSlots | null = null,
45
dynamicSlots: DynamicSlots | null = null,
46
-) => {
+) {
47
let slots: InternalSlots = {}
48
49
for (const key in rawSlots) {
0 commit comments