Fixing ts_option.

This commit is contained in:
Dessalines 2024-11-06 11:47:03 -05:00
parent 879b8e9206
commit a1ac93d368

View file

@ -176,6 +176,7 @@ pub struct SaveUserSettings {
#[cfg_attr(feature = "full", ts(optional))] #[cfg_attr(feature = "full", ts(optional))]
pub show_upvote_percentage: Option<bool>, pub show_upvote_percentage: Option<bool>,
/// Whether to automatically mark fetched posts as read. /// Whether to automatically mark fetched posts as read.
#[cfg_attr(feature = "full", ts(optional))]
pub auto_mark_fetched_posts_as_read: Option<bool>, pub auto_mark_fetched_posts_as_read: Option<bool>,
} }