We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac42603 commit 85eea91Copy full SHA for 85eea91
lib/rules/prop-types.js
@@ -82,10 +82,9 @@ module.exports = function(context) {
82
}
83
84
/**
85
- * Checks if the prop is declared
86
- * @param {String} name Name of the prop to check.
87
- * @param {Object} component The component to process
88
- * @returns {Boolean} True if the prop is declared, false if not.
+ * Checks if the prop has spread operator.
+ * @param {ASTNode} node The AST node being marked.
+ * @returns {Boolean} True if the prop has spread operator, false if not.
89
*/
90
function hasSpreadOperator(node) {
91
var tokens = context.getTokens(node);
0 commit comments