Hi there.
I've created an Angular stackblitz and wanted to use Array.prototype.includes method, but even though blitz gets created with es2018 in lib, even changing target to es2018 doesn't help, TypeScript complains about includes not being available for arrays. It compiles, but the error message is there :(
https://stackblitz.com/edit/angular-array-includes?file=src%2Fapp%2Fapp.component.ts
Hi there.
I've created an Angular stackblitz and wanted to use
Array.prototype.includesmethod, but even though blitz gets created withes2018inlib, even changingtargettoes2018doesn't help, TypeScript complains aboutincludesnot being available for arrays. It compiles, but the error message is there :(https://stackblitz.com/edit/angular-array-includes?file=src%2Fapp%2Fapp.component.ts