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