Skip to content

Commit

Permalink
fix eslint-plugin-react types
Browse files Browse the repository at this point in the history
  • Loading branch information
slice committed Sep 14, 2024
1 parent cfaa5dc commit df00596
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions eslint-plugin-react.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
// This is incomplete.
// Non-exhaustive.
declare module 'eslint-plugin-react' {
import type { ESLint, Linter } from 'eslint'

const plugin: ESLint.Plugin & {
flat: {
all: Linter.Config
recommended: Linter.Config
'jsx-runtime': Linter.Config
configs: {
flat: {
all: Linter.Config
recommended: Linter.Config
'jsx-runtime': Linter.Config
}
}
}

Expand Down

0 comments on commit df00596

Please sign in to comment.