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
any
butcreateAsyncOptions
is returningunknown
. I'm assuming it should beany
instead ofunknown
.The type is being inferred here and I believe that changing the return type here from
unknown
toany
would fix it?Thanks for the great work on 15.0 - looking awesome!