Extended array of objects is throwing me an error

Hi guys!

After upgrading to Ionic3, I am facing the small issue. I have one normal Typescript class BoxList which extends the Array. So it is normal array with some additional custom method that I use. I have a method called “allHit” which loops through the array and returns me boolean value. The thing is, that in Ionic2 everything was working fine, but after the upgrade, I can not call the this.boxList.allHit method anymore because it throws me an exception: allHit is not a function.

Does someone have a clue what is going on here? Thanks!