You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: