mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
chore(): fix Input types
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user