ultra-lyrics
Version:
Lyrics Fetcher
8 lines (7 loc) • 346 B
TypeScript
import { Song, UltraLyricsFunctionReturnType } from '../Types';
/**
* Function that returns a song object from a given song title or id
* @param {string} query - name or ID of the song
* @return promise of the object inclding the song
*/
export declare const getSong: (param: string | number) => Promise<UltraLyricsFunctionReturnType<Song>>;