chore: lint files

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2023-03-31 21:30:23 +02:00
committed by Braks
parent 9d597ff454
commit f61e5beb02
69 changed files with 623 additions and 424 deletions
+9 -3
View File
@@ -1,5 +1,11 @@
export const round = (x: number, multiple = 10) => Math.round(x / multiple) * multiple
export function round(x: number, multiple = 10) {
return Math.round(x / multiple) * multiple
}
export const roundDown = (x: number, multiple = 10) => Math.floor(x / multiple) * multiple
export function roundDown(x: number, multiple = 10) {
return Math.floor(x / multiple) * multiple
}
export const roundUp = (x: number, multiple = 10) => Math.ceil(x / multiple) * multiple
export function roundUp(x: number, multiple = 10) {
return Math.ceil(x / multiple) * multiple
}