Skip to content

Commit

Permalink
fix: consistent naming
Browse files Browse the repository at this point in the history
  • Loading branch information
crishoj committed Aug 7, 2024
1 parent 0234d2b commit 785a5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/random/draw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { random } from 'radashi'
* // => [1, 2, 3]
* ```
*/
export function draw<T>(arr: readonly [T, ...T[]]): T
export function draw<T>(array: readonly [T, ...T[]]): T
export function draw<T>(array: readonly T[]): T | null

export function draw<T>(array: readonly T[]): T | null {
Expand Down

0 comments on commit 785a5ed

Please sign in to comment.