Skip to content

Commit

Permalink
Update fieldProps.ts (#5902)
Browse files Browse the repository at this point in the history
  • Loading branch information
shixish authored Mar 19, 2024
1 parent c36a3b0 commit 10d86e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sanity/src/core/form/types/fieldProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ export interface BaseFieldProps {
/**
* @hidden
* @public */
export interface ObjectFieldProps<T = Record<string, any>> extends BaseFieldProps {
export interface ObjectFieldProps<T = Record<string, unknown>> extends BaseFieldProps {
schemaType: ObjectSchemaType
value: {[field in string]: unknown} | undefined
value: T | undefined
collapsed?: boolean
collapsible?: boolean
onCollapse: () => void
Expand Down

0 comments on commit 10d86e0

Please sign in to comment.