Skip to content

Commit

Permalink
chore: fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jan 17, 2024
1 parent 9e2bf16 commit cf0c384
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import type { Linter } from 'eslint'
import type {
EslintCommentsRules,
EslintRules,
FlatESLintConfigItem,
ImportRules,
JsoncRules,
MergeIntersection,
Expand Down Expand Up @@ -55,7 +56,7 @@ export type Rules = WrapRuleConfig<
>
>

export type FlatConfigItem = Omit<Linter.FlatConfig, 'plugins'> & {
export type FlatConfigItem = Omit<FlatESLintConfigItem<Rules, false>, 'plugins'> & {
/**
* Custom name of each config item
*/
Expand Down

0 comments on commit cf0c384

Please sign in to comment.