Skip to content

Commit 6698fb0

Browse files
committed
make build work
1 parent cb50e0a commit 6698fb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
KnownMemberExpression,
1111
ParsedExpectVitestFnCall
1212
} from './parse-vitest-fn-call'
13+
import { Rule } from 'eslint'
1314

1415
interface PluginDocs {
1516
recommended?: boolean
@@ -22,7 +23,7 @@ export function createEslintRule<TOptions extends readonly unknown[], TMessageId
2223
`https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/${ruleName}.md`
2324
)
2425

25-
return createRule(rule)
26+
return createRule(rule) as unknown as Rule.RuleModule
2627
}
2728

2829
export const joinNames = (a: string | null, b: string | null): string | null =>

0 commit comments

Comments
 (0)