Reformat code

This commit is contained in:
schmelczerandras 2020-09-24 14:16:45 +02:00
parent 7b9f4469c8
commit d48786971b
22 changed files with 85 additions and 122 deletions

View file

@ -1,2 +1,2 @@
export const sum = (list: ArrayLike<number>): number =>
Array.prototype.reduce.call(list, (a, sum) => a + sum, 0);
Array.prototype.reduce.call(list, (a: number, sum: number) => a + sum, 0);