javascript - How to suppress "WARNING - Redeclared variable:" in Closure Compiler -
I have successfully suppressed some warnings in the closor compiler
/ ** * @ Fileoverview * @suppress {checkTypes | Duplicate} * / But I can not find how to press "Warning - Redclair Variable": "
I press @ < P> Generally, there is a list of logic to use with @suppress, any error or warning?
This should work ...
/ ** @suppress {duplicate} * / var dup;
Comments
Post a Comment