Hi, I am trying to use filterOptions to set the available options in a "relationship" field based on a value picked in another relationship field. It works perfectly when I just run it with npm run dev, but I keep running into a typescript error whenever I try to build.
The error is due to siblingData prop in filterOptions being set to "unknown"/any, and I'm trying to refer to a field within siblingData. I added an image of the code along with the error I'm getting. I tried to generate and re-generate the types - do I have to import the generated types instead/in addition to CollectionConfig?
Any help is appreciated!