fix(types): improve TypeScript strictness compatibility and modernize test exports

This commit is contained in:
2026-05-01 11:28:39 +00:00
parent 0e0bd5cd6c
commit 94f994ee6c
21 changed files with 2582 additions and 2257 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ const getRandomInt = (min: number, max: number): number => {
* ! - Special character
* * - Any character (A, a, 0, or !)
*/
const customRandomatic = (pattern: string, length?: number, options?: any): string => {
const charSets = {
const customRandomatic = (pattern: string, length?: number, options?: unknown): string => {
const charSets: Record<string, string> = {
'A': 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
'a': 'abcdefghijklmnopqrstuvwxyz',
'0': '0123456789',