chore: improve item.extra types

This commit is contained in:
Ou
2024-10-27 22:09:17 +08:00
parent 76c282f302
commit 655204a14f
10 changed files with 37 additions and 31 deletions
+9 -1
View File
@@ -89,7 +89,15 @@ export interface NewsItem {
url: string
mobileUrl?: string
pubDate?: number | string
extra?: Record<string, any>
extra?: {
hover?: string
date?: number | string
info?: false | string
icon?: false | string | {
url: string
scale: number
}
}
}
export interface SourceResponse {