From 3b27d09620a9c93b20d7366aba049bf24dc63064 Mon Sep 17 00:00:00 2001 From: Hasegawa-Yukihiro Date: Tue, 4 Jun 2024 21:19:15 +0900 Subject: [PATCH] refactor: fix import --- src/rules/valid-expect.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/rules/valid-expect.ts b/src/rules/valid-expect.ts index 0d973ce37..16bf1daa9 100644 --- a/src/rules/valid-expect.ts +++ b/src/rules/valid-expect.ts @@ -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, @@ -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';