fuck
This commit is contained in:
@@ -10,8 +10,8 @@ type NullableFolderId = FolderId | null;
|
||||
type StatusLevel = 'success' | 'error' | 'info' | string;
|
||||
|
||||
type DocumentCacheMapper = (
|
||||
doc: DocumentLike | null | undefined,
|
||||
) => DocumentLike | null | undefined;
|
||||
doc: DocumentLike | null,
|
||||
) => DocumentLike | null;
|
||||
|
||||
type MapDocumentCaches = (mapper: DocumentCacheMapper) => void;
|
||||
|
||||
@@ -140,7 +140,7 @@ interface UseDocumentMutationsArgs {
|
||||
tags: Tag[];
|
||||
refreshTags: () => Promise<void>;
|
||||
tagManager: TagManager;
|
||||
extractDocumentFromResponse?: (payload: unknown) => DocumentLike | null | undefined;
|
||||
extractDocumentFromResponse?: (payload: unknown) => DocumentLike | null;
|
||||
}
|
||||
|
||||
interface UseDocumentMutationsResult {
|
||||
|
||||
Reference in New Issue
Block a user