feat: update api comments with jsdoc. (#52)

This commit is contained in:
Hawtim Zhang 2020-10-25 14:15:02 +08:00 committed by GitHub
parent e9b6a81bef
commit 4e482941ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 189 additions and 43 deletions

View file

@ -94,7 +94,7 @@ export function likeATrack(params) {
* @param {Object} params
* @param {number} params.id
* @param {number} params.sourceid
* @param {number=} [params.time]
* @param {number=} params.time
*/
export function scrobble(params) {
params.timestamp = new Date().getTime();