Skip to content

Commit

Permalink
fix(element): correct extending of HTMLElementEventMap in types
Browse files Browse the repository at this point in the history
fixes #6657
  • Loading branch information
nolimits4web committed May 10, 2023
1 parent 07b2cfe commit d6a0aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/element/swiper-element.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { SwiperOptions, Swiper } from '../types/';
declare const register: (injectStyles?: boolean) => void;

// prettier-ignore
interface SwiperContainerEventMap extends HTMLElementEventMap {
interface SwiperContainerEventMap extends Omit<HTMLElementEventMap, 'click' | 'progress' | 'keypress' | 'resize' | 'touchstart' | 'touchmove' | 'touchend' | 'transitionend' | 'transitionstart'> {
// CORE_EVENTS

// MODULES_EVENTS
Expand Down

0 comments on commit d6a0aca

Please sign in to comment.