(fix:types) stricter in v19

This commit is contained in:
ManishMadan2882
2025-06-20 23:11:53 +05:30
parent 7077ca5e98
commit 6834961dd1
10 changed files with 20 additions and 20 deletions

View File

@@ -16,7 +16,7 @@ import { ActiveState } from '../models/misc';
type SourcesPopupProps = {
isOpen: boolean;
onClose: () => void;
anchorRef: React.RefObject<HTMLButtonElement>;
anchorRef: React.RefObject<HTMLButtonElement | null>;
handlePostDocumentSelect: (doc: Doc | null) => void;
setUploadModalState: React.Dispatch<React.SetStateAction<ActiveState>>;
};