Added type definitions for dragscroll

This commit is contained in:
Sean Kelly
2019-02-22 11:03:30 -05:00
parent 0b6b1ae042
commit a7fa1098d5
2 changed files with 10 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
import dragscroll from "dragscroll";
dragscroll.reset();
+7
View File
@@ -0,0 +1,7 @@
// Type definitions for dragscroll v 0.0.8
// Project: https://github.com/asvd/dragscroll
// Definitions by: Sean Kelly <https://github.com/spkellydev/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module "dragscroll" {
function reset(i?: number, el?: HTMLElement[]): void
}