1c1e62be09
Change-Id: If5779cf8d80cf9fac7180498ce748f427df57e0a
10 lines
213 B
TypeScript
10 lines
213 B
TypeScript
// Copyright (C) 2019 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
/**
|
|
* Custom string id generator.
|
|
*/
|
|
export function getId(): string {
|
|
return '_' + Math.random().toString(36).substr(2, 9);
|
|
}
|