chore(): fix Input types

This commit is contained in:
Tim Lancina
2016-01-13 23:52:10 -06:00
parent 7f19ba5396
commit c475a6490b
5 changed files with 22 additions and 18 deletions

View File

@ -23,7 +23,7 @@ export class ScrollTo {
}
}
start(x, y, duration, tolerance): Promise<any> {
start(x: number, y: number, duration: number, tolerance?: number): Promise<any> {
// scroll animation loop w/ easing
// credit https://gist.github.com/dezinezync/5487119
let self = this;