typescript

This commit is contained in:
2025-11-13 01:07:55 +01:00
parent b812d748ea
commit ada089c05b
147 changed files with 7427 additions and 2534 deletions
+13
View File
@@ -0,0 +1,13 @@
export const clamp = (value: number, min: number, max: number): number => {
if (value < min) {
return min;
}
if (value > max) {
return max;
}
return value;
};
export default {
clamp,
};