mirror of
https://github.com/janishutz/musickitjs-v3-types.git
synced 2026-10-08 20:56:23 +02:00
fix: API request description
This commit is contained in:
1 parent
73be5129f5
commit
45644879b4
2 files changed
+3
-3
No files matched your search
Vendored
+2
-2
@@ -3,13 +3,13 @@ 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 queryParameters - URL query parameters to be appended to the request URL
|
||||
* @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?: {
|
||||
queryParameters?: {
|
||||
[key: string]: unknown
|
||||
},
|
||||
opts?: {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "musickitjs-v3-types",
|
||||
"version": "1.1.1",
|
||||
"version": "1.2.0",
|
||||
"description": "Types for musickit js version 3.0",
|
||||
"keywords": [
|
||||
"musickitjs",
|
||||
|
||||
Reference in new issue
Block a user