I’ve been banging my head against a wall all day trying to get a simple Infinite Scroll example to work and all I can figure is that Typescript is preventing it from happening.
I’m following this doc, Infinite Scroller | ion-infinite-scroll Action Component … I’ve even completely replaced my code with the code in this doc, however it will not run because it crashes for the lines in loadData() saying that EventTarget does not have the properties “disabled” or “complete()”
If I take out those lines, everything runs fine but it will only send one request via the InfiniteScroll trigger. I’m assuming I need to typecast it to the correct type of event? But I cannot for the life of me find any documentation or github issue that explains how to work around this.
Any help would be greatly appreciated.