aboutsummaryrefslogtreecommitdiff
path: root/src/modules/random
diff options
context:
space:
mode:
authorShinigami <[email protected]>2023-02-01 14:04:18 +0100
committerGitHub <[email protected]>2023-02-01 14:04:18 +0100
commit5b705d4b047640e91b690566d6e0fdbae17bb842 (patch)
treea179a77cca1b72e2c730607def2786a5531b531f /src/modules/random
parentbe77179faf097383763eaa6414cf7b6a1a8b131a (diff)
downloadfaker-5b705d4b047640e91b690566d6e0fdbae17bb842.tar.xz
faker-5b705d4b047640e91b690566d6e0fdbae17bb842.zip
infra: configure lint rule array-type (#1793)
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({