Skip to content

Commit

Permalink
SvelthreeInteraction add missing e types (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vatroslav Vrbanic committed Aug 19, 2022
1 parent 22e2cee commit dd6e122
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components-internal/SvelthreeInteraction.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1266,12 +1266,12 @@ This is a **svelthree** _SvelthreeInteraction_ Component.
}
}
function prevent_default(e) {
function prevent_default(e: PointerEvent | FocusEvent | KeyboardEvent) {
if (verbose && log_dev) console.info(...c_dev(c_name, "prevent_default!"))
e.preventDefault()
}
function stop_propagation(e) {
function stop_propagation(e: PointerEvent | FocusEvent | KeyboardEvent) {
if (verbose && log_dev) console.info(...c_dev(c_name, "stop_propagation!"))
e.stopPropagation()
}
Expand Down

0 comments on commit dd6e122

Please # to comment.