diff --git a/src/interface.ts b/src/interface.ts index 757512a1..879a6cc1 100644 --- a/src/interface.ts +++ b/src/interface.ts @@ -55,7 +55,7 @@ export interface ProxyDraft { callbacks?: ((patches?: Patches, inversePatches?: Patches) => void)[]; } -export type Patch

= { +export type Patch

= { op: typeof Operation[keyof typeof Operation]; path: P extends { pathAsArray: false } ? string : (string | number)[]; value?: any;