From 5b705d4b047640e91b690566d6e0fdbae17bb842 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Wed, 1 Feb 2023 14:04:18 +0100 Subject: infra: configure lint rule array-type (#1793) --- src/modules/random/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/random') 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[] | string; + bannedChars?: ReadonlyArray> | string; } = {} ): string { deprecated({ @@ -274,7 +274,7 @@ export class RandomModule { * * @default [] */ - bannedChars?: readonly LiteralUnion[] | string; + bannedChars?: ReadonlyArray> | string; } = {} ): string { deprecated({ @@ -325,7 +325,7 @@ export class RandomModule { * * @default [] */ - bannedDigits?: readonly LiteralUnion[] | string; + bannedDigits?: ReadonlyArray> | string; } = {} ): string { deprecated({ -- cgit v1.2.3