I have many unused params for my functions and constructors, usualy, an underscore does the trick
1) but here I still get the error message
I tried this (or adding an underscore)
/* tslint:disable-next-line:no-unused-variable */
constructor(private el: ElementRef) { }
with no luck
2) how do we deal with parameters that are only used in the templates, such errors will be triggered ?
I have to console.log to faint using a variable
thanks
console.log()
to fake use a variable, just do something like() => this.el;
. – Teniafuge