Skip to content

Commit

Permalink
Update jsdoc types
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jun 26, 2020
1 parent e70eee6 commit 2957638
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rules/no-multiple-objects-in-class.js
Expand Up @@ -16,7 +16,7 @@ const { defineTemplateBodyVisitor } = require('../utils')

/**
* count ObjectExpression element
* @param {VAttribute} node
* @param {VDirective & {value: VExpressionContainer & {expression: ArrayExpression}}} node
* @return {number}
*/
function countObjectExpression(node) {
Expand All @@ -42,7 +42,7 @@ module.exports = {
/** @param {RuleContext} context */
create(context) {
return defineTemplateBodyVisitor(context, {
/** @param {VAttribute} node */
/** @param {VDirective & {value: VExpressionContainer & {expression: ArrayExpression}}} node */
'VAttribute[directive=true][key.argument.name="class"][key.name.name="bind"][value.expression.type="ArrayExpression"]'(
node
) {
Expand Down

0 comments on commit 2957638

Please sign in to comment.