Skip to content

Commit

Permalink
Correct JSDoc parameter documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Jul 13, 2024
1 parent 817b759 commit 69f92c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export function orderTags(nativeTags: ITag[]): INativeTagDict {

/**
* Convert rating to 1-5 star rating
* @param rating: Normalized rating [0..1] (common.rating[n].rating)
* @param rating Normalized rating [0..1] (common.rating[n].rating)
* @returns Number of stars: 1, 2, 3, 4 or 5 stars
*/
export function ratingToStars(rating: number): number {
Expand Down

0 comments on commit 69f92c2

Please sign in to comment.