Skip to content

Commit

Permalink
style(infinite-scroll): add missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Mar 8, 2017
1 parent 5b1126f commit 62bf2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/infinite-scroll/infinite-scroll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 62bf2be

Please sign in to comment.