保誠-保戶業務員媒合平台
HelenHuang
2022-06-09 9bdb95c9e34cef640534e5e5a1e2225a80442000
PAMapp/node_modules/nanoid/async/index.d.ts
@@ -24,8 +24,8 @@
 * will not be secure.
 *
 * @param alphabet Alphabet used to generate the ID.
 * @param size Size of the ID.
 * @returns A promise with a random string.
 * @param defaultSize Size of the ID. The default size is 21.
 * @returns A function that returns a promise with a random string.
 *
 * ```js
 * import { customAlphabet } from 'nanoid/async'
@@ -37,8 +37,8 @@
 */
export function customAlphabet(
  alphabet: string,
  size: number
): () => Promise<string>
  defaultSize?: number
): (size?: number) => Promise<string>
/**
 * Generate an array of random bytes collected from hardware noise.