mirror of
https://github.com/janishutz/musickitjs-v3-types.git
synced 2026-10-08 20:56:23 +02:00
feat: tsdoc for the definitions
This commit is contained in:
1 parent
bba6fd185e
commit
771f910636
3 files changed
+219
-7
No files matched your search
Vendored
+8
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user