From 59bae2a75f01da6e0ac4cb08e358d6e16cb70e3e Mon Sep 17 00:00:00 2001 From: William Candillon Date: Fri, 30 Jun 2017 15:18:45 +0200 Subject: [PATCH] :new: TS definition --- index.d.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 index.d.ts diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..c958711 --- /dev/null +++ b/index.d.ts @@ -0,0 +1,3 @@ +declare module "smoothscroll" { + export default function smoothScroll(target: HTMLElement, duration?: number, callback: () => void, context?: HTMLElement); +}