Added return type to the function

This commit is contained in:
oizie
2016-03-10 09:35:05 +00:00
parent e2ff7ea520
commit 84d5dcdf3f

View File

@@ -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;