UNPKG

anyid

Version:

A simple and flexible API to generate various kinds of string ID / code.

10 lines (9 loc) 177 B
import { AnyId } from './core'; declare module './core' { interface AnyId { random(): AnyId; } } export declare class Random { random(this: AnyId): AnyId; }