diff --git a/packages/loot-core/src/shared/util.ts b/packages/loot-core/src/shared/util.ts index 8c748d475e4..f39df5aee66 100644 --- a/packages/loot-core/src/shared/util.ts +++ b/packages/loot-core/src/shared/util.ts @@ -1,4 +1,4 @@ -export function last(arr) { +export function last(arr: T[]) { return arr[arr.length - 1]; }