Update prettier

This commit is contained in:
Dolan Miu
2020-08-01 17:40:57 +01:00
parent 8b78f2d200
commit 4f6a9f734c
7 changed files with 43 additions and 90 deletions

View File

@ -21,14 +21,7 @@ export class Media {
private static generateId(): string {
// https://gist.github.com/6174/6062387
return (
Math.random()
.toString(36)
.substring(2, 15) +
Math.random()
.toString(36)
.substring(2, 15)
);
return Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
}
private readonly map: Map<string, IMediaData>;