Skip to content

Commit 53161b3

Browse files
author
xiyin
committed
fix: update comments
1 parent 7faa7b4 commit 53161b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/immer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const produceWithPatches: IProduceWithPatches = immer.produceWithPatches.
5555
/**
5656
* Pass true to automatically freeze all copies created by Immer.
5757
*
58-
* By default, auto-freezing is disabled in production.
58+
* Always freeze by default, even in production mode
5959
*/
6060
export const setAutoFreeze = immer.setAutoFreeze.bind(immer)
6161

0 commit comments

Comments
 (0)