File tree 2 files changed +12
-3
lines changed
typings/eslint-plugin-vue/util-types/ast
2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ module.exports = {
427
427
}
428
428
}
429
429
} ,
430
- onDefinePropsExit ( node ) {
430
+ onDefinePropsExit ( ) {
431
431
scriptSetupPropsContexts . pop ( )
432
432
}
433
433
} )
Original file line number Diff line number Diff line change @@ -441,12 +441,21 @@ export type BinaryOperator =
441
441
| 'in'
442
442
| 'instanceof'
443
443
| '**'
444
- export interface BinaryExpression extends HasParentNode {
444
+ interface BinaryExpressionWithoutIn extends HasParentNode {
445
445
type : 'BinaryExpression'
446
- operator : BinaryOperator
446
+ operator : Exclude < BinaryOperator , 'in' >
447
447
left : Expression
448
448
right : Expression
449
449
}
450
+ interface BinaryExpressionWithIn extends HasParentNode {
451
+ type : 'BinaryExpression'
452
+ operator : 'in'
453
+ left : Expression | PrivateIdentifier
454
+ right : Expression
455
+ }
456
+ export type BinaryExpression =
457
+ | BinaryExpressionWithoutIn
458
+ | BinaryExpressionWithIn
450
459
export type AssignmentOperator =
451
460
| '='
452
461
| '+='
You can’t perform that action at this time.
0 commit comments