Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49526

Type 'IterableIterator' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators

$
0
0

@Pratikjaiswa15 wrote:

I am using ionic 4 to build an app. Whereas my app is working fine on browser but when I build android platform it is giving me error for this line

for (let [index, p] of this.cart.entries())

The error is Type ‘IterableIterator<[number, any]>’ is not an array type or a string type. Use compiler option ‘–downlevelIteration’ to allow iterating of iterators.

My typescript version is 3.7.2
The app is working fine on browser but android platform is not getting build

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49526

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>