mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(tslint): fix noImplicitAny errors
This commit is contained in:
@@ -78,7 +78,7 @@ export class Scroll extends Ion {
|
||||
* @returns {?Function} a function to remove the specified handler, otherwise
|
||||
* undefined if the scroll element doesn't exist.
|
||||
*/
|
||||
addScrollEventListener(handler) {
|
||||
addScrollEventListener(handler: any) {
|
||||
if (!this.scrollElement) { return; }
|
||||
|
||||
this.scrollElement.addEventListener('scroll', handler);
|
||||
|
||||
Reference in New Issue
Block a user