@exadel/esl
Version:
Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components
12 lines (11 loc) • 363 B
TypeScript
declare const SEQUENCE_KEY: unique symbol;
declare global {
interface Window {
[SEQUENCE_KEY]: Map<string, number>;
}
}
/** Create and return sequential id */
export declare const sequentialUID: (name: string, prefix?: string) => string;
/** Return random unique identifier */
export declare const randUID: (prefix?: string) => string;
export {};