Ben Durrant
Ben Durrant
do you have any imports from @reduxjs/toolkit/src? i'm confused why your bundler is even reading it
that part i can explain - with a baseUrl of "." in the toolkit folder, an import from "react" actually resolves to "@reduxjs/toolkit/react" we had issues with this for a...
which path are you using? you shouldn't be importing from /dist - as of v2.2.0 we should be exporting those types from the normal entry point.
try a reinstall - we only released v2.2.0 in the last couple hours :)
this doesn't seem to use the equality function?
adding unwrap is a specific choice for the call site - by default, the promise will not reject regardless of whether the request succeeded or not. calling unwrap makes it...
hmm, this is a good point - ~~the `resultEqualityCheck` is typed to only expect the result of the memoized function~~ (edit: it's actually typed as `any`), but the [`inputStabilityCheck`](https://github.com/reduxjs/reselect/blob/master/src/devModeChecks/inputStabilityCheck.ts#L33) uses...
we need to treat memoizeOptions as an opaque value, because it could be *anything* depending on what memoizer is being used. For example, weakMapMemoize's options don't have an `equalityCheck` property....
you could try using the [suspense](https://suspense.vercel.app/) util library for it?
In case anyone is still interested, I've made the necessary code changes in a branch [here](https://github.com/piotrwitek/typesafe-actions/compare/master...EskiMojo14:typesafe-actions:rtk-compat). I just don't understand enough about dts-jest to get a PR in 😅 Feel...