Mark Erikson
Mark Erikson
No, `predicate` explicitly does not narrow the action type. It's a very generic `(action, prevState, nextState) => boolean` callback that could have _any_ logic inside, and so it can't guarantee...
@aeciolevy sorry, afraid I don't understand the question. Can you clarify?
Dropping in a related link with a similar request for polling configuration: https://www.kxlaa.com/articles/yes-i-would-use-redux-in-2024
Hmm. Best to check this against the actual example code at that point in time.
Yeah, this is definitely a lot more info than we need or care about. (Also, it made the `size` job take 14 minutes to run.) Is there actually a problem...
@aryaemami59 what does the new output of this PR look like, and what's the diff vs the current size comments?
Out in https://github.com/reduxjs/redux-toolkit/releases/tag/v2.4.0 !
I'm going to close this because it doesn't seem like something we're going to add, and it looks like there's _a_ workaround in userland even if kind of ugly.
Ah, nice, thank you! Out of curiosity, what prompted the move of `createFork` in the file?
This is likely related to your TS config settings. Can you post your entire `tsconfig.json`, or ideally the entire project repo?