Skip to content

Commit

Permalink
refactor: fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
y-hsgw committed Jun 4, 2024
1 parent fe2c3a1 commit 3b27d09
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/rules/valid-expect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
* MIT license, Tom Vincent.
*/

import { AST_NODE_TYPES, type TSESTree } from '@typescript-eslint/utils';
import type { RuleFix } from '@typescript-eslint/utils/ts-eslint';
import {
AST_NODE_TYPES,
type TSESLint,
type TSESTree,
} from '@typescript-eslint/utils';
import {
type FunctionExpression,
ModifierName,
Expand Down Expand Up @@ -381,7 +384,7 @@ export default createRule<[Options], MessageIds>({
}
},
'Program:exit'() {
const fixes: RuleFix[] = [];
const fixes: TSESLint.RuleFix[] = [];

descriptors.forEach(({ node, messageId }, index) => {
const orReturned = alwaysAwait ? '' : ' or returned';
Expand Down

0 comments on commit 3b27d09

Please sign in to comment.