1
0
forked from notBrad/bubo-rss

Introducing Bubo 2.0.0 (#6)

Converting to TypeScript!
This commit is contained in:
George Mandis
2021-11-29 00:46:32 -08:00
committed by GitHub
parent 78250bd9a2
commit c9e98d79b6
16 changed files with 3384 additions and 199 deletions

15
src/@types/bubo.d.ts vendored Normal file
View File

@@ -0,0 +1,15 @@
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>;