Skip to content

Commit 32e2504

Browse files
committed
disable enableES5
1 parent b1a1dac commit 32e2504

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { enableES5 } from 'immer'
21
export * from 'redux'
32
export { default as createNextState, Draft, current } from 'immer'
43
export {
@@ -14,7 +13,7 @@ export { ThunkAction, ThunkDispatch } from 'redux-thunk'
1413
// we assume RTK will be used with React Native and other Proxy-less
1514
// environments. In addition, that's how Immer 4 behaved, and since
1615
// we want to ship this in an RTK minor, we should keep the same behavior.
17-
enableES5()
16+
// enableES5()
1817

1918
export {
2019
// js

0 commit comments

Comments
 (0)