Skip to content

Commit bdc4322

Browse files
committed
refactor(runtime-vapor): export function
1 parent 0792656 commit bdc4322

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runtime-vapor/src/componentSlots.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ export interface DynamicSlot {
3939

4040
export type DynamicSlots = () => (DynamicSlot | DynamicSlot[])[]
4141

42-
export const initSlots = (
42+
export function initSlots(
4343
instance: ComponentInternalInstance,
4444
rawSlots: InternalSlots | null = null,
4545
dynamicSlots: DynamicSlots | null = null,
46-
) => {
46+
) {
4747
let slots: InternalSlots = {}
4848

4949
for (const key in rawSlots) {

0 commit comments

Comments
 (0)