diff --git a/src/lib/array.ts b/src/lib/array.ts index e2b31612..6c3c3690 100644 --- a/src/lib/array.ts +++ b/src/lib/array.ts @@ -10,7 +10,7 @@ export function splitBy(fn) { } export function insertBetween(items: T[], fn: (i: number) => I): Array { - return items.reduce((acc, x, i) => { + return items.reduce>((acc, x, i) => { acc.push(x) if (i < items.length - 1) {