chore(react): solve most type errors

This commit is contained in:
Elian Doran
2025-09-14 10:38:05 +03:00
parent 3ac0dfb2ad
commit 4040f8ba89
9 changed files with 19 additions and 18 deletions

View File

@@ -18,7 +18,7 @@ interface NoteListProps<T extends object> {
/** if set to `true` then only collection-type views are displayed such as geo-map and the calendar. The original book types grid and list will be ignored. */
displayOnlyCollections?: boolean;
highlightedTokens?: string[] | null;
viewStorage: ViewModeStorage<T>;
viewStorage?: ViewModeStorage<T>;
}
export default function NoteList<T extends object>({ note: providedNote, highlightedTokens, displayOnlyCollections }: NoteListProps<T>) {