diff --git a/MusicKitAPI.d.ts b/MusicKitAPI.d.ts index a1d69ac..5fb7b29 100644 --- a/MusicKitAPI.d.ts +++ b/MusicKitAPI.d.ts @@ -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?: { diff --git a/package.json b/package.json index f774db3..69fe939 100644 --- a/package.json +++ b/package.json @@ -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",