Angular 2 - TSLINT - property '...' declared but never used
I have a lot of unused parameters for my functions and constructors, usually underscore does the trick
1), but here I am still getting the error
I tried this (or adding underscore)
/* tslint:disable-next-line:no-unused-variable */
constructor(private el: ElementRef) { }
bad luck
2) how do we deal with parameters that are used only in templates, such errors will be triggered?
I need console.log to faint using a variable
thank
+3
source to share