Skip to content

Commit 521f425

Browse files
committed
Update readme
1 parent d447bd7 commit 521f425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ An ES (JavaScript & TypeScript) module to shuffle the array's indexes.
6060
## 🧩 APIs
6161

6262
- ```ts
63-
function shuffleArray<T>(item: readonly T[], prng: PseudoRandomNumberGenerator = Math.random): T[];
63+
function shuffleArray<T>(item: readonly T[], prng?: PseudoRandomNumberGenerator): T[];
6464
```
6565
- ```ts
6666
type PseudoRandomNumberGenerator = () => number;

0 commit comments

Comments
 (0)