storj/web/satellite/src/utils/idGenerator.ts
NickolaiYurchenko 1c1e62be09 web/satellite: comments update
Change-Id: If5779cf8d80cf9fac7180498ce748f427df57e0a
2020-02-14 18:54:31 +02:00

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);
}