refactor(core): remove the unused compareDate field from DocDisplayIconOptions (#10095)

This commit is contained in:
L-Sun
2025-02-11 13:26:43 +00:00
parent ba52abe50f
commit 401ce70153
6 changed files with 5 additions and 18 deletions
@@ -34,7 +34,6 @@ import type { JournalService } from '../../journal';
type IconType = 'rc' | 'lit';
interface DocDisplayIconOptions<T extends IconType> {
type?: T;
compareDate?: Date | Dayjs;
/**
* Override the mode detected inside the hook:
* by default, it will use the `primaryMode$` of the doc.