Skip to content

Commit

Permalink
make build work
Browse files Browse the repository at this point in the history
  • Loading branch information
veritem committed Dec 26, 2024
1 parent cb50e0a commit 6698fb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
KnownMemberExpression,
ParsedExpectVitestFnCall
} from './parse-vitest-fn-call'
import { Rule } from 'eslint'

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

return createRule(rule)
return createRule(rule) as unknown as Rule.RuleModule
}

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

0 comments on commit 6698fb0

Please sign in to comment.