diff --git a/play-dl/index.ts b/play-dl/index.ts index 3fe6c69..6406d69 100644 --- a/play-dl/index.ts +++ b/play-dl/index.ts @@ -123,18 +123,12 @@ async function stream(url: string, options: StreamOptions = {}): Promise; +async function search(query: string, options: { source: { deezer: 'album' } } & SearchOptions): Promise; async function search( query: string, options: { source: { deezer: 'playlist' } } & SearchOptions ): Promise; -async function search( - query: string, - options: { source: { deezer: 'track' } } & SearchOptions -): Promise; +async function search(query: string, options: { source: { deezer: 'track' } } & SearchOptions): Promise; async function search( query: string, options: { source: { soundcloud: 'albums' } } & SearchOptions @@ -497,12 +491,12 @@ export { video_basic_info, video_info, yt_validate -} +}; // Export Types -export { Deezer, YouTube, SoundCloud, Spotify } +export { Deezer, YouTube, SoundCloud, Spotify }; -// Export Default +// Export Default export default { DeezerAlbum, DeezerPlaylist,