Skip to content

Commit

Permalink
fix: 🏷️ fix transition element
Browse files Browse the repository at this point in the history
  • Loading branch information
thierrymichel committed Jun 25, 2020
1 parent 303e3c0 commit fb14ea6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/defs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ export type SupportedTypes =
| 'pointerup'
| 'pointermove'

export type TransitionElement = HTMLElement | HTMLElement[]
export type Transition = (
currentSlides: HTMLElement | HTMLElement[],
newSlides: HTMLElement | HTMLElement[],
currentSlides: TransitionElement,
newSlides: TransitionElement,
infos: TransitionInfos,
context?: any,
data?: any
Expand Down

0 comments on commit fb14ea6

Please sign in to comment.