I have successfully suppressed some warnings in Closure Compiler with
/**
* @fileoverview
* @suppress {checkTypes|duplicate}
*/
but I cannot find how to suppress "WARNING - Redeclared variable:"
What should I be using in the @suppress?
More generally, is there a list of the argument to use with @suppress given any error or warning?
This should work ...
/** @suppress {duplicate} */ var dup;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With