Yegor Klymenchuk

Results 9 comments of Yegor Klymenchuk

@tsarapke Hi, I just try to make same implementation , but any way I have getState: () => unknown. What I made wrong ?

I have updated redux/toolkit to 1.9.0 , and unfortunally it did't help me((

@tsarapke aaa okey, but before update I was on 1.8.5

@tsarapke Yes if I declare the type in custom.d.ts , I can see difference. For example I can directly change AsyncThunkConfig . But anyway getState return unknown

@phryneas Can I wrap createAsyncThunk or do I have to use withTypes every time?

@phryneas when I use createAsyncThunk.withTypes and import RootState into slice I have this circular error

@phryneas The first of my problem, I have this error ![Screenshot 2023-03-11 at 11 09 30](https://user-images.githubusercontent.com/101469756/224478437-b86e1422-ca36-4955-8b61-f8c1f700112c.png) I found one solution in tsconfig.json add "declaration": false. But honestly I don't want...

Hi, I faced with the same issue. Please let us know if we do something wrong. Thanks.

@jstjoe Please could you show your code? It doesn't work for me(((