Skip to content

Commit

Permalink
fix(VOverlay): make updateLocation event argument optional
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Jul 9, 2024
1 parent 719a64a commit fa1a089
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type LocationStrategyFn = (
data: LocationStrategyData,
props: StrategyProps,
contentStyles: Ref<Record<string, string>>
) => undefined | { updateLocation: (e: Event) => void }
) => undefined | { updateLocation: (e?: Event) => void }

const locationStrategies = {
static: staticLocationStrategy, // specific viewport position, usually centered
Expand Down

0 comments on commit fa1a089

Please sign in to comment.