Skip to content

Commit

Permalink
chore: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 22, 2024
1 parent aca3a61 commit d7c2967
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 51 deletions.
2 changes: 1 addition & 1 deletion app/components/RuleList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getRuleFromName, payload } from '~/composables/payload'
import type { RuleInfo } from '~~/shared/types'
const props = defineProps<{
rules: RuleInfo[] | Record<string, Linter.RuleEntry>
rules: Partial<Linter.RulesRecord> | RuleInfo[]
getBind?: (ruleName: string) => Record<string, any>
filter?: (ruleName: string) => boolean
}>()
Expand Down
68 changes: 18 additions & 50 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d7c2967

Please sign in to comment.