Pattern: Invalid Closure syntax
Issue: -
Reports against Google Closure Compiler syntax.
Context | everywhere |
Tags | N/A |
The following patterns are considered problems:
/**
* @param {string=} foo
*/
function quux (foo) {
}
// Message: Syntax should not be Google Closure Compiler style.
The following patterns are not considered problems:
/**
* @param {string} [foo]
*/
function quux (foo) {
}
/**
*
*/
function quux (foo) {
}