diff options
Diffstat (limited to 'node_modules/genius-lyrics/dist/Songs/Client.d.ts')
-rw-r--r-- | node_modules/genius-lyrics/dist/Songs/Client.d.ts | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/node_modules/genius-lyrics/dist/Songs/Client.d.ts b/node_modules/genius-lyrics/dist/Songs/Client.d.ts index 00b54ae..cc8c499 100644 --- a/node_modules/genius-lyrics/dist/Songs/Client.d.ts +++ b/node_modules/genius-lyrics/dist/Songs/Client.d.ts @@ -1,23 +1,23 @@ -import { Client } from "../"; -import { Song } from "./Song"; -export interface SongSearchOptions { - sanitizeQuery: boolean; -} -export declare class SongsClient { - readonly client: Client; - /** - * @example const SongsClient = new Genius.Songs.Client(key); - */ - constructor(client: Client); - /** - * Searches for songs for the provided query (Key is optional) - * @example const SearchResults = await SongsClient.search("faded"); - */ - search(query: string, options?: Partial<SongSearchOptions>): Promise<Song[]>; - /** - * Fetches the Song using the provided ID (Requires Key) - * @example const Song = await SongsClient.get(3276244); - */ - get(id: number): Promise<Song>; - sanitizeQuery(query: string): string; -} +import { Client } from "../";
+import { Song } from "./Song";
+export interface SongSearchOptions {
+ sanitizeQuery: boolean;
+}
+export declare class SongsClient {
+ readonly client: Client;
+ /**
+ * @example const SongsClient = new Genius.Songs.Client(key);
+ */
+ constructor(client: Client);
+ /**
+ * Searches for songs for the provided query (Key is optional)
+ * @example const SearchResults = await SongsClient.search("faded");
+ */
+ search(query: string, options?: Partial<SongSearchOptions>): Promise<Song[]>;
+ /**
+ * Fetches the Song using the provided ID (Requires Key)
+ * @example const Song = await SongsClient.get(3276244);
+ */
+ get(id: number): Promise<Song>;
+ sanitizeQuery(query: string): string;
+}
|