chore: improve item.extra types
This commit is contained in:
+9
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user