From fe8f5891d4fdd35107ebb252df85332fd8c53543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=97=E9=93=B6?= <1498546245@qq.com> Date: Tue, 12 Jan 2021 04:27:18 +0800 Subject: [PATCH] chore(comments): update comments (#727) Co-authored-by: xiyin --- src/immer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/immer.ts b/src/immer.ts index 53455494..0eacffe6 100644 --- a/src/immer.ts +++ b/src/immer.ts @@ -55,7 +55,7 @@ export const produceWithPatches: IProduceWithPatches = immer.produceWithPatches. /** * Pass true to automatically freeze all copies created by Immer. * - * By default, auto-freezing is disabled in production. + * Always freeze by default, even in production mode */ export const setAutoFreeze = immer.setAutoFreeze.bind(immer)