Skip to content

Commit

Permalink
fix: lint error for unused property
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma11hewThomas committed Dec 7, 2024
1 parent ff955b6 commit 583c7eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlebars/helpers/math.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Handlebars from 'handlebars'
*/
export function addHelper(): void {
Handlebars.registerHelper('add', function (...args) {
const options = args.pop()
args.pop()
return args.reduce((sum: number, value: number) => sum + (value || 0), 0) as number
})
}

0 comments on commit 583c7eb

Please sign in to comment.