X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-main%2Fangular%2Fnumber-formatter.pipe.ts;h=00cfbc692b441dc88ea22d8d309ec4bf06693818;hb=d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d;hp=e0cb475fc50cf6ba23ee6fc818a58d6da2b9385e;hpb=7dcd7d81406f4869363d2a5595d5c68f7106eb22;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-main/angular/number-formatter.pipe.ts b/client/src/app/shared/shared-main/angular/number-formatter.pipe.ts index e0cb475fc..00cfbc692 100644 --- a/client/src/app/shared/shared-main/angular/number-formatter.pipe.ts +++ b/client/src/app/shared/shared-main/angular/number-formatter.pipe.ts @@ -17,7 +17,7 @@ export class NumberFormatterPipe implements PipeTransform { return +f } - private dictionary: Array<{ max: number, type: string }> = [ + private dictionary: { max: number, type: string }[] = [ { max: 1000, type: '' }, { max: 1000000, type: 'K' }, { max: 1000000000, type: 'M' }