Skip to content

Commit 1266e04

Browse files
refactor(rating): don't specify type where one can be inferred
Closes ng-bootstrap#540
1 parent 30e20f5 commit 1266e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/rating/rating.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class NgbRating implements OnInit {
2424
/**
2525
* Maximal rating that can be given using this widget.
2626
*/
27-
@Input() max: number = 10;
27+
@Input() max = 10;
2828

2929
/**
3030
* Current rating.

0 commit comments

Comments
 (0)