UNPKG

@better-auth/utils

Version:

A collection of utilities for better-auth

5 lines (3 loc) 249 B
type Alphabet = "a-z" | "A-Z" | "0-9" | "-_"; declare function createRandomStringGenerator<A extends Alphabet>(...baseAlphabets: A[]): <SubA extends Alphabet>(length: number, ...alphabets: SubA[]) => string; export { createRandomStringGenerator };