Skip to content

Commit

Permalink
Fix issue lyfeyaj#110
Browse files Browse the repository at this point in the history
  • Loading branch information
RandScullard committed Mar 17, 2020
1 parent 15cc515 commit 3258425
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/swipe-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="swipe.d.ts" />
import Swipe from "./swipe";

// Creation of element
var mySwipe = new Swipe(document.getElementById('slider'));
2 changes: 1 addition & 1 deletion types/swipe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface SwipeOptions {
transitionEnd?: (index: number, elem: HTMLElement) => void;
}

declare class Swipe {
export default class Swipe {
constructor(container: HTMLElement, options?: SwipeOptions);
prev(): void;
next(): void;
Expand Down

0 comments on commit 3258425

Please sign in to comment.