mardi 3 novembre 2020

Error when using instruction map in angular

I started my angular project on sonar and for the test.ts sonar file I get an error for the following line:

context.keys().map(context);

Consider using "forEach" instead of "map" as its return value is not being used here

I don't understand why

Aucun commentaire:

Enregistrer un commentaire