diff --git a/src/types.ts b/src/types.ts index b7dc163..6975839 100644 --- a/src/types.ts +++ b/src/types.ts @@ -84,7 +84,7 @@ export interface AlbumGetByUrlResponse { export interface Streamer { hostnames: string[] search(query: string, limit: number): Promise - getTypeFromUrl(url: string): ItemType + getTypeFromUrl: ((url: string) => ItemType) | ((url: string, limit?: number) => ItemType) getByUrl(url: string): Promise disconnect?(): Promise }