mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-26 14:15:57 +08:00
Added return type to the function
This commit is contained in:
2
react-scroll/react-scroll.d.ts
vendored
2
react-scroll/react-scroll.d.ts
vendored
@@ -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