diff --git a/tgui/packages/common/collections.ts b/tgui/packages/common/collections.ts index 53bd962ba8..7abe49ff23 100644 --- a/tgui/packages/common/collections.ts +++ b/tgui/packages/common/collections.ts @@ -177,9 +177,8 @@ export const sort = sortBy(); * Returns a range of numbers from start to end, exclusively. * For example, range(0, 5) will return [0, 1, 2, 3, 4]. */ -export const range = (start: number, end: number): number[] => { - return new Array(end - start).fill(null).map((_, index) => index + start); -}; +export const range = (start: number, end: number): number[] => + new Array(end - start).fill(null).map((_, index) => index + start); /** * A fast implementation of reduce.