Skip to content

Commit 2957638

Browse files
committed
Update jsdoc types
1 parent e70eee6 commit 2957638

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rules/no-multiple-objects-in-class.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const { defineTemplateBodyVisitor } = require('../utils')
1616

1717
/**
1818
* count ObjectExpression element
19-
* @param {VAttribute} node
19+
* @param {VDirective & {value: VExpressionContainer & {expression: ArrayExpression}}} node
2020
* @return {number}
2121
*/
2222
function countObjectExpression(node) {
@@ -42,7 +42,7 @@ module.exports = {
4242
/** @param {RuleContext} context */
4343
create(context) {
4444
return defineTemplateBodyVisitor(context, {
45-
/** @param {VAttribute} node */
45+
/** @param {VDirective & {value: VExpressionContainer & {expression: ArrayExpression}}} node */
4646
'VAttribute[directive=true][key.argument.name="class"][key.name.name="bind"][value.expression.type="ArrayExpression"]'(
4747
node
4848
) {

0 commit comments

Comments
 (0)