mirror of
https://github.com/certd/certd.git
synced 2026-05-18 06:17:31 +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);
|
||
|
|
}
|