bubo-rss/src/@types/bubo.d.ts
George Mandis c9e98d79b6
Introducing Bubo 2.0.0 (#6)
Converting to TypeScript!
2021-11-29 03:46:32 -05:00

15 lines
278 B
TypeScript

export interface Feeds {
[key: string]: object[]
}
export interface FeedItem {
[key: string]: string | number | Date | FeedItem[];
items: FeedItem[]
}
//NEW WAY
export type JSONValue =
| string
| number
| boolean
| { [x: string]: JSONValue }
| Array<JSONValue>;