Skip to content

Commit 9e264fc

Browse files
committed
Switch back to default strict iteration
1 parent 7a7c011 commit 9e264fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/immerClass.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export type StrictMode = boolean | "class_only"
3636
export class Immer implements ProducersFns {
3737
autoFreeze_: boolean = true
3838
useStrictShallowCopy_: StrictMode = false
39-
useStrictIteration_: boolean = false
39+
useStrictIteration_: boolean = true
4040

4141
constructor(config?: {
4242
autoFreeze?: boolean

0 commit comments

Comments
 (0)