After upgrading to 15.0 I'm seeing this issue:
Types of property options are incompatible. Type unknown is not assignable to type any[] | ((inputValue: string) => any[])
when using <Select/> with createAsyncOptions.
The Select expects any but createAsyncOptions is returning unknown. I'm assuming it should be any instead of unknown.
The type is being inferred here and I believe that changing the return type here from unknown to any would fix it?
Thanks for the great work on 15.0 - looking awesome!
After upgrading to 15.0 I'm seeing this issue:
Types of property options are incompatible. Type unknown is not assignable to type any[] | ((inputValue: string) => any[])when using
<Select/>withcreateAsyncOptions.The Select expects
anybutcreateAsyncOptionsis returningunknown. I'm assuming it should beanyinstead ofunknown.The type is being inferred here and I believe that changing the return type here from
unknowntoanywould fix it?Thanks for the great work on 15.0 - looking awesome!