From 9e123db32ac24a9c638d9aefb2527234cde26d80 Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Sun, 25 Apr 2021 16:15:25 -0700 Subject: [PATCH] ok --- tgui/packages/common/collections.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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.