aboutsummaryrefslogtreecommitdiff
path: root/src/modules/random
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/random')
-rw-r--r--src/modules/random/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/random/index.ts b/src/modules/random/index.ts
index d558e24b..4936fe80 100644
--- a/src/modules/random/index.ts
+++ b/src/modules/random/index.ts
@@ -221,7 +221,7 @@ export class RandomModule {
*
* @default []
*/
- bannedChars?: readonly LiteralUnion<AlphaChar>[] | string;
+ bannedChars?: ReadonlyArray<LiteralUnion<AlphaChar>> | string;
} = {}
): string {
deprecated({
@@ -274,7 +274,7 @@ export class RandomModule {
*
* @default []
*/
- bannedChars?: readonly LiteralUnion<AlphaNumericChar>[] | string;
+ bannedChars?: ReadonlyArray<LiteralUnion<AlphaNumericChar>> | string;
} = {}
): string {
deprecated({
@@ -325,7 +325,7 @@ export class RandomModule {
*
* @default []
*/
- bannedDigits?: readonly LiteralUnion<NumericChar>[] | string;
+ bannedDigits?: ReadonlyArray<LiteralUnion<NumericChar>> | string;
} = {}
): string {
deprecated({