Skip to content

Commit

Permalink
fix(type): export IPatch type
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Jan 3, 2025
1 parent fc2c3f6 commit 42872e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export interface ProxyDraft<T = any> {
callbacks?: ((patches?: Patches, inversePatches?: Patches) => void)[];
}

interface IPatch {
export interface IPatch {
op: (typeof Operation)[keyof typeof Operation];
value?: any;
}
Expand Down

0 comments on commit 42872e3

Please sign in to comment.