-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use casters for type helpers & improve types
- Removed the `?` operator for interfaces. This will make types more strict. - MusicBrain IDs will now return `undefined` if an album/track doesn't have one. - `artist.getInfo` now returns a bio object as opposed to a simple description. - `artist.getInfo` now returns a similar artists property. - `artist.getSimilar` now returns a proper float for matches. - `track.getInfo` now returns `undefined` for user play counts. - `track.getInfo` now returns `undefined` for album properties if they're missing.
- Loading branch information
1 parent
22966f9
commit 7fb2c17
Showing
23 changed files
with
503 additions
and
423 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.