mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Added return type to the function
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user