mirror of
https://github.com/certd/certd.git
synced 2026-05-16 13:17:29 +08:00
4 lines
151 B
TypeScript
4 lines
151 B
TypeScript
export function calcNextSuiteCountUsed(used: number, oldCount: number, newCount: number) {
|
|
return (used ?? 0) - (oldCount ?? 0) + (newCount ?? 0);
|
|
}
|