From 84d5dcdf3f346f1821ce46c263b8af812cf9cb98 Mon Sep 17 00:00:00 2001 From: oizie Date: Thu, 10 Mar 2016 09:35:05 +0000 Subject: [PATCH] Added return type to the function --- react-scroll/react-scroll.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-scroll/react-scroll.d.ts b/react-scroll/react-scroll.d.ts index 7892c22f2..fbaf8d3d2 100644 --- a/react-scroll/react-scroll.d.ts +++ b/react-scroll/react-scroll.d.ts @@ -21,7 +21,7 @@ declare module "react-scroll" { } interface scroller { - scrollTo(to: any, animate?: any, duration?: any, offset?: any) + scrollTo(to: any, animate?: any, duration?: any, offset?: any) : void } const Link: Link;