How to fix "is declared but its value is never read" in Angular?


angular tslint

Stay updated with my tutorials. Also, I will delight you with some bonus content.

When I built and run my Angular project I got this error:

ERROR in src/app/app.module.ts(15,1): error TS6133: 'effects' is declared but its value is never read.

‘effects’ is declared but its value is never read

To fix an error you need to find the variable that is not using in your project, but imported:

sd

After that project will build successfully: ‘effects’ is declared but its value is never read

comments powered by Disqus