Skip to content

Commit

Permalink
fix: remove default value of getHalfStarVisible to avoid bugs related…
Browse files Browse the repository at this point in the history
… to half star logic (#129)

Co-authored-by: Dusan Perisic <dusan.perisic@workpuls.com>
  • Loading branch information
duxor and Dusan Perisic authored Jan 17, 2024
1 parent 684d011 commit d4d39f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { StarRatingUtils } from '../../services/star-rating.utils';
})
export class StarRatingComponent extends StarRating {
@Input()
getHalfStarVisible: (rating: number) => boolean = (rating: number) => false;
getHalfStarVisible: (rating: number) => boolean;

// @ts-ignore
@Input() getColor: (
Expand Down

0 comments on commit d4d39f3

Please # to comment.