From fbcb506dd05caab49bdcc97daae93e5d706f4cd0 Mon Sep 17 00:00:00 2001 From: George Oastler Date: Thu, 16 Nov 2023 16:35:40 +0000 Subject: [PATCH] remove debug --- packages/util/src/util.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/util/src/util.ts b/packages/util/src/util.ts index 550d92bf9d..fae5385bf7 100644 --- a/packages/util/src/util.ts +++ b/packages/util/src/util.ts @@ -91,8 +91,6 @@ export function at(arr: T[] | string, i: number, options?: AtOptions): T | un return el as T } -const x1: number = at([1, 2, 3], 0, { optional: true }) - export function get(obj: T, key: unknown, required?: true): Exclude export function get(obj: T, key: unknown, required: false): T[keyof T] | undefined export function get(obj: unknown, key: string | number | symbol, required?: true): Exclude