diff --git a/src/typings/spotify-web-api.d.ts b/src/typings/spotify-web-api.d.ts index f2ce3a0..fe99ce0 100644 --- a/src/typings/spotify-web-api.d.ts +++ b/src/typings/spotify-web-api.d.ts @@ -461,7 +461,11 @@ declare namespace SpotifyWebApi { * @return {Object} Null if a callback is provided, a `Promise` object otherwise */ getUserPlaylists( - userId?: string, + userId: string, + options?: Object, + callback?: ResultsCallback + ): Promise; + getUserPlaylists( options?: Object, callback?: ResultsCallback ): Promise;