Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 5b76208

Browse files
committed
chore(runtime-vapor): make attrsProxy optional
1 parent c633534 commit 5b76208

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/runtime-vapor/src/component.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export interface ComponentInternalInstance {
115115
slots: InternalSlots
116116
refs: Data
117117

118-
attrsProxy: Data | null
118+
attrsProxy?: Data
119119
slotsProxy?: Slots
120120

121121
// lifecycle
@@ -241,8 +241,6 @@ export function createComponentInstance(
241241
slots: EMPTY_OBJ,
242242
refs: EMPTY_OBJ,
243243

244-
attrsProxy: null,
245-
246244
// lifecycle
247245
isMounted: false,
248246
isUnmounted: false,

0 commit comments

Comments
 (0)