Skip to content

Commit

Permalink
type
Browse files Browse the repository at this point in the history
  • Loading branch information
tgxn committed Jan 3, 2025
1 parent 88fcc60 commit 32ceaad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crawler/src/output/output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ export default class CrawlOutput {

console.log("Done; Total vs. Output");

function calcChangeDisplay(current, previous) {
function calcChangeDisplay(current: number, previous: number) {
return `${current > previous ? "+" : ""}${current - previous} (${(
((current - previous) / previous) *
100
Expand Down

0 comments on commit 32ceaad

Please sign in to comment.