Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
goastler committed Nov 16, 2023
1 parent b64b582 commit fbcb506
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/util/src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ export function at<T>(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<T>(obj: T, key: unknown, required?: true): Exclude<T[keyof T], undefined>
export function get<T>(obj: T, key: unknown, required: false): T[keyof T] | undefined
export function get<T>(obj: unknown, key: string | number | symbol, required?: true): Exclude<T, undefined>
Expand Down

0 comments on commit fbcb506

Please sign in to comment.