Skip to content

Commit 120eef8

Browse files
authored
Update spotify-api.d.ts (#178)
This keeps the PlaylistObjectFull/Simplified up to date with the documentation (https://developer.spotify.com/documentation/web-api/reference/object-model/#playlist-object-simplified). I've also submitted a PR on DefinitelyTyped/DefinitelyTyped#46514
1 parent b4adb6b commit 120eef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typings/spotify-api.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,6 +961,7 @@ declare namespace SpotifyApi {
961961
*/
962962
interface PlaylistBaseObject {
963963
collaborative: boolean;
964+
description: string | null;
964965
external_urls: ExternalUrlObject;
965966
href: string;
966967
id: string;
@@ -978,7 +979,6 @@ declare namespace SpotifyApi {
978979
* [](https://developer.spotify.com/web-api/object-model/)
979980
*/
980981
interface PlaylistObjectFull extends PlaylistBaseObject {
981-
description: string;
982982
followers: FollowersObject;
983983
tracks: PagingObject<PlaylistTrackObject>;
984984
}

0 commit comments

Comments
 (0)