Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3c902a1

Browse files
Validarkbradzacher
authored andcommitted
fix(eslint-plugin): add Literal to RuleListener types (typescript-eslint#824)
1 parent 39e41b5 commit 3c902a1

File tree

1 file changed

+1
-0
lines changed
  • packages/experimental-utils/src/ts-eslint

1 file changed

+1
-0
lines changed

packages/experimental-utils/src/ts-eslint/Rule.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ interface RuleListener {
270270
JSXSpreadChild?: RuleFunction<TSESTree.JSXSpreadChild>;
271271
JSXText?: RuleFunction<TSESTree.JSXText>;
272272
LabeledStatement?: RuleFunction<TSESTree.LabeledStatement>;
273+
Literal?: RuleFunction<TSESTree.Literal>;
273274
LogicalExpression?: RuleFunction<TSESTree.LogicalExpression>;
274275
MemberExpression?: RuleFunction<TSESTree.MemberExpression>;
275276
MetaProperty?: RuleFunction<TSESTree.MetaProperty>;

0 commit comments

Comments
 (0)