Skip to content

Commit

Permalink
fix: missing type in updateDocument
Browse files Browse the repository at this point in the history
  • Loading branch information
awesthouse committed May 29, 2024
1 parent 5a95b94 commit bfb2a73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/dm-core/src/hooks/useDocument.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ interface IUseDocumentReturnType<T> {
updateDocument: (
newDocument: T,
notify: boolean,
partialUpdate?: boolean
partialUpdate?: boolean,
throwError?: boolean
) => Promise<void>
error: ErrorResponse | null
setError: Dispatch<SetStateAction<ErrorResponse | null>>
Expand Down

0 comments on commit bfb2a73

Please sign in to comment.