Skip to content

fix: ArrayField should use ArrayFieldProps#11261

Closed
dolfinus wants to merge 1 commit into
marmelab:masterfrom
dolfinus:bugfix/array-field-props
Closed

fix: ArrayField should use ArrayFieldProps#11261
dolfinus wants to merge 1 commit into
marmelab:masterfrom
dolfinus:bugfix/array-field-props

Conversation

@dolfinus
Copy link
Copy Markdown

@dolfinus dolfinus commented May 18, 2026

Problem

Fixes #11232

Solution

Cast ArrayField props to ArrayFieldBase

How To Test

Describe the steps required to test the changes

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The PR includes unit tests
  • The PR includes one or several stories — type-only fix, no visual change
  • The documentation is up to date — no API change

Also, please make sure to read the contributing guidelines.

@fzaninotto
Copy link
Copy Markdown
Member

Thanks for the fix, but I'm not a fan of casting to unknown. Besides, the type misses the generic part. I'll open another PR to provide a better fix.

@fzaninotto fzaninotto closed this May 18, 2026
@fzaninotto
Copy link
Copy Markdown
Member

Check #11264 for my fix

@dolfinus dolfinus deleted the bugfix/array-field-props branch May 18, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typescript compilation errors on 5.14.5 with ArrayField

2 participants