Closed krutoo closed 2 months ago
i have reducer like:
export const reducer = createReducer({/* ... */}, () => {/* ... */})
It's a known issue when declaration=true with ES modules https://github.com/reduxjs/redux-toolkit/issues/4066
Can you run this command and try again to see if it fixes the issue:
npm install https://pkg.csb.dev/reduxjs/redux-toolkit/commit/06a30ee4/@reduxjs/toolkit
@markerikson thanks a lot, (looks like release title is 2.2.6 for tag 2.2.7)
@krutoo fixed, thanks
Hi, in my project i use toolkit 2.0.0 and i have type check build during emit declaration files only with
isolatedModules: true
option in tsconfig:i have error:
Can we add export of ReducerWithInitialState from entry point of package?