Skip to content

Commit

Permalink
chore: processed review comment from #348
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate authored and aleclarson committed Apr 17, 2019
1 parent 980474a commit 9077851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/immer.d.ts
Expand Up @@ -23,7 +23,7 @@ export type Draft<T> = T extends AtomicObject
? T
: T extends object
? {-readonly [K in keyof T]: Draft<T[K]>}
: T // mostly: unknown & any
: T

/** Convert a mutable type into a readonly type */
export type Immutable<T> = T extends AtomicObject
Expand Down

0 comments on commit 9077851

Please sign in to comment.