style(infinite-scroll): add missing type

This commit is contained in:
Manu Mtz.-Almeida
2017-03-04 00:31:38 +01:00
parent 5b1126f7f2
commit 62bf2bee28

View File

@@ -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);
}