We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b303d36 commit 06b9691Copy full SHA for 06b9691
src/core-utils.ts
@@ -11,7 +11,7 @@ export function omit<K extends string, T extends Record<K, unknown>>(object: T,
11
return result
12
}
13
14
-export function shortuuid(): string {
+export function shortuuid() {
15
let firstPart = (Math.random() * 46656) | 0;
16
let secondPart = (Math.random() * 46656) | 0;
17
return ("000" + firstPart.toString(36)).slice(-3) + ("000" + secondPart.toString(36)).slice(-3);
0 commit comments