clean up, debugging

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2020-07-10 23:48:57 +03:00
1 parent 33d7036939
commit 8bb3954700
7 files changed
+15 -26

No files matched your search

+1
View File
@@ -3,3 +3,4 @@
export * from "./base64"
export * from "./camelCase"
export * from "./splitArray"
export * from "./randomFileName"
+5
View File
@@ -0,0 +1,5 @@
// Creates system valid random filename
export function randomFileName(name: string) {
return `${Math.random().toString(36).substring(2, 15)}-${Math.random().toString(36).substring(2, 15)}-${name}`
}