1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor: common to ts

This commit is contained in:
2022-05-10 12:57:25 +02:00
parent d1bfa282c3
commit cc5910b88f
27 changed files with 151 additions and 69 deletions

View File

@@ -0,0 +1,3 @@
export function uidGen (prefix?: string) {
return (prefix ? `${prefix}:` : '') + Math.random().toString(36).substr(2, 9).toUpperCase();
}