Hi. I'm following instruction on how to get thunk result in place where dispatch was called, but typescript don't see AsyncThunkAction as thenable. I tried both approaches, from createAsyncThunk doc page and from usage with Typescript. In second case I'm getting Argument of type 'AsyncThunkAction<boolean, number, {}>' is not assignable to parameter of type 'Action<unknown>'. Property 'type' is missing in type 'AsyncThunkAction<boolean, number, {}>' but required in type 'Action<unknown>'.ts(2345)
Here is sandbox with both approaches.