You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
372 B
13 lines
372 B
/**
|
|
* @deprecated Use `useId` `useIdInjection` instead
|
|
* Generate random number in range [0, 1000]
|
|
* Maybe replace with [uuid](https://www.npmjs.com/package/uuid)
|
|
*/
|
|
export declare const generateId: () => number;
|
|
/**
|
|
* @deprecated
|
|
* Generating a random int in range (0, max - 1)
|
|
* @param max {number}
|
|
*/
|
|
export declare const getRandomInt: (max: number) => number;
|