react-decode-animation
Version:
Decode effect typing animation for React
10 lines (9 loc) • 506 B
TypeScript
export declare type AllowedCharaters = "numbers" | "uppercase" | "lowercase" | "symbols";
export declare type AllowedCharatersList = AllowedCharaters | Array<AllowedCharaters>;
export declare class CharacterList {
characters: string[];
constructor(allowedCharacters?: AllowedCharatersList, custom?: string);
static generateCode(loopString: string): Generator<string, void, unknown>;
shuffle(): string;
static toCharacters(value: string, allowDuplicates?: boolean): string[];
}