(source: SourceGetter | R)
| 7 | export function defineSource(source: SourceGetter): SourceGetter |
| 8 | export function defineSource(source: R): R |
| 9 | export function defineSource(source: SourceGetter | R): SourceGetter | R { |
| 10 | return source |
| 11 | } |
| 12 | |
| 13 | export function defineRSSSource(url: string, option?: SourceOption): SourceGetter { |
| 14 | return async () => { |
no outgoing calls
no test coverage detected