UNPKG

307 BTypeScriptView Raw
1/**
2 * Generates a unique id in the global scope (this spans across duplicate copies of the same library.)
3 *
4 * @public
5 */
6export declare function getId(prefix?: string): string;
7/**
8 * Resets id counter to an (optional) number.
9 *
10 * @public
11 */
12export declare function resetIds(counter?: number): void;