mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
style(infinite-scroll): add missing type
This commit is contained in:
@@ -276,7 +276,7 @@ export class InfiniteScroll {
|
||||
* Pass a promise inside `waitFor()` within the `infinite` output event handler in order to
|
||||
* change state of infiniteScroll to "complete"
|
||||
*/
|
||||
waitFor(action: Promise) {
|
||||
waitFor(action: Promise<any>) {
|
||||
const enable = this.complete.bind(this);
|
||||
action.then(enable, enable);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user