feat: tsdoc for the definitions

This commit is contained in:
janishutz committed 2026-08-29 16:08:29 +02:00
1 parent bba6fd185e
commit 771f910636
3 files changed
+219 -7

No files matched your search

+8
View File
@@ -1,4 +1,12 @@
export interface MusicKitAPI {
/**
* This is the primary mean of accessing the Apple Music API.
* @see https://js-cdn.music.apple.com/musickit/v3/docs/index.html?path=/docs/reference-javascript-api--page
* @param path - The Apple Music API path to use
* @param params - The parameters to substitute in the path (params use Mustache syntax)
* @param options - Extra options to pass directly to the underlying fetch call.
* @returns The data in an object. The type varies across paths.
*/
'music': (
path: string,
params: {