Does RTK supports Flow (typed) ? #3574
-
My question is does RTK officially supports Flow typing ? I'm trying to use RTK with flow and it seems it doesn't have type check ![]() ![]() |
Beta Was this translation helpful? Give feedback.
Answered by
EskiMojo14
Jul 3, 2023
Replies: 1 comment 7 replies
-
RTK is written with Typescript, I'm not sure how well Flow does with Typescript declaration files. Though for what it's worth, you shouldn't ever be using the AsyncThunk type directly like that - the return type from createAsyncThunk should already be accurate. See Usage with Typescript |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To my knowledge we have nothing specifically to support Flow, as the library is written in TS and compiled down to JS with TS declaration files.
I have no experience with Flow, so I don't know if the Typescript support at all helps with it.