From 53161b3ceb6bd456773e55edba1ececa82f554f4 Mon Sep 17 00:00:00 2001 From: xiyin Date: Sat, 26 Dec 2020 19:38:17 +0800 Subject: [PATCH] fix: update comments --- 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)