Skip to content

Commit

Permalink
Bugfix/types (skeletonlabs#2134)
Browse files Browse the repository at this point in the history
  • Loading branch information
delight authored Oct 10, 2023
1 parent 1e3d182 commit 58ed04e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/yellow-guests-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@skeletonlabs/skeleton": patch
---

bugfix: fixes a linting error on ProgressRadial
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
let dashoffset: number;
// Set Progress Amount
function setProgress(percent: any) {
function setProgress(percent: number) {
circumference = radius * 2 * Math.PI;
dashoffset = circumference - (percent / 100) * circumference;
}
Expand Down

0 comments on commit 58ed04e

Please sign in to comment.