File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ export function random<T>(array: readonly T[]): T | undefined {
8787
8888type StrNumSym = string | number | symbol ;
8989
90- /* eslint-disable no-redeclare */
9190/**
9291 * Groups items in an array by a nested key or key function.
9392 *
@@ -127,7 +126,6 @@ export function groupBy<T>(
127126
128127 return Object . fromEntries ( Object . entries ( result ) . map ( ( [ k , v ] ) => [ k , v as readonly T [ ] ] ) ) ;
129128}
130- /* eslint-enable no-redeclare */
131129
132130/**
133131 * Shuffles an array using the Fisher-Yates algorithm. Uses crypto-secure randomness.
@@ -278,7 +276,6 @@ export function zip<T>(...arrays: ReadonlyArray<T>[]): T[][] {
278276 return result ;
279277}
280278
281- /* eslint-disable no-redeclare */
282279/**
283280 * Splits an array into two arrays based on a predicate function.
284281 * Supports type-guard narrowing via overload.
@@ -316,7 +313,6 @@ export function partition<T>(
316313
317314 return [ pass , fail ] ;
318315}
319- /* eslint-enable no-redeclare */
320316
321317/**
322318 * Generates an array of numbers within a specified range.
You can’t perform that action at this time.
0 commit comments