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
Type '(query: string) => Promise<string>' does not satisfy the constraint 'AsyncFunction'.
Types of parameters 'query' and 'args' are incompatible.
Type 'unknown' is not assignable to type 'string'.ts(2344)
I had my own AsyncReturnType and it worked well with any, not unknown
The text was updated successfully, but these errors were encountered:
I'm not able to use this type:
I get this error:
I had my own
AsyncReturnType
and it worked well withany
, notunknown
The text was updated successfully, but these errors were encountered: