misc: calcTournamentTerm ts 이식

This commit is contained in:
Hide_D committed 2023-03-09 02:20:13 +09:00
1 parent aab00fc427
commit a72cfc8e1c
2 files changed
+6 -1

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
import { clamp } from 'lodash-es';
export function calcTournamentTerm(turnTerm: number): number{
return clamp(turnTerm, 5, 120);
}