Skip to content

Commit

Permalink
chore(runtime-vapor): make attrsProxy optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ubugeeei committed Mar 23, 2024
1 parent c633534 commit 5b76208
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/runtime-vapor/src/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export interface ComponentInternalInstance {
slots: InternalSlots
refs: Data

attrsProxy: Data | null
attrsProxy?: Data
slotsProxy?: Slots

// lifecycle
Expand Down Expand Up @@ -241,8 +241,6 @@ export function createComponentInstance(
slots: EMPTY_OBJ,
refs: EMPTY_OBJ,

attrsProxy: null,

// lifecycle
isMounted: false,
isUnmounted: false,
Expand Down

0 comments on commit 5b76208

Please sign in to comment.