Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ export type {
Patch,
ExternalOptions as Options,
PatchesOptions,
DraftedObject,
} from './interface';
2 changes: 1 addition & 1 deletion src/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export type Immutable<T> = T extends Primitive | AtomicObject

type DraftedMap<K, V> = Map<K, Draft<V>>;
type DraftedSet<T> = Set<Draft<T>>;
type DraftedObject<T> = {
export type DraftedObject<T> = {
-readonly [K in keyof T]: Draft<T[K]>;
};

Expand Down