From 907785131acf21e1a06ae2414e6ac7a498f2f302 Mon Sep 17 00:00:00 2001 From: Michel Weststrate Date: Mon, 15 Apr 2019 19:29:56 +0200 Subject: [PATCH] chore: processed review comment from #348 --- src/immer.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/immer.d.ts b/src/immer.d.ts index e508aac8..63676816 100644 --- a/src/immer.d.ts +++ b/src/immer.d.ts @@ -23,7 +23,7 @@ export type Draft = T extends AtomicObject ? T : T extends object ? {-readonly [K in keyof T]: Draft} - : T // mostly: unknown & any + : T /** Convert a mutable type into a readonly type */ export type Immutable = T extends AtomicObject