Skip to content

Commit

Permalink
fix: πŸ› type check
Browse files Browse the repository at this point in the history
  • Loading branch information
waynewyang committed Jan 6, 2024
1 parent b5cd54e commit 2efe1ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ export function convertDataToFormFields<T extends Record<string, any>>(
obj: T,
customFieldRules?: Partial<Record<keyof T, Partial<Field>>>,
options?: {
blacklist?: string[]
whitelist?: string[]
blacklist?: (keyof T)[]
whitelist?: (keyof T)[]
extra?: React.ReactNode[]
}
): Field[] {
Expand Down

0 comments on commit 2efe1ea

Please sign in to comment.