helpyourneighbour/node_modules/@paralleldrive/cuid2/index.d.ts
BibaBot c294e2e9ae
Some checks are pending
Docker Test / test (push) Waiting to run
Add unit tests for role middleware
2026-03-17 07:07:36 +00:00

19 lines
371 B
TypeScript

declare namespace cuid2 {
export function getConstants(): {
defaultLength: number
bigLength: number
}
export function init(options?: {
random?: () => number
counter?: () => number
length?: number
fingerprint?: string
}): () => string
export function isCuid(id: string): boolean
export function createId(): string
}
export = cuid2;