@trycourier/courier-js
Version:
A browser-safe API wrapper
14 lines (13 loc) • 366 B
TypeScript
export declare class UUID {
private static readonly ALPHABET;
/**
* nanoid
* Copyright 2017 Andrey Sitnik <andrey@sitnik.ru>
*
* https://github.com/ai/nanoid/blob/main/LICENSE
*
* @param size - The size of the UUID to generate.
* @returns A string representing the UUID.
*/
static nanoid(size?: number): string;
}