mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
5 lines
178 B
TypeScript
5 lines
178 B
TypeScript
import { RecentAction } from "../types";
|
|
|
|
export function sumRecentActionCounts(actions: RecentAction[]) {
|
|
return actions.reduce((total, action) => total + action.count, 0);
|
|
}
|