build: Use prettier for typescript

Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
Ralph Hopman
2025-01-15 11:59:30 +00:00
committed by Adam Saghy
parent 9d6cf1514a
commit cac1d11ad7
1812 changed files with 22516 additions and 16862 deletions
+1 -3
View File
@@ -5,12 +5,10 @@ import { TranslateService } from '@ngx-translate/core';
name: 'translateKey'
})
export class TranslatePipe implements PipeTransform {
constructor(private translateService: TranslateService) { }
constructor(private translateService: TranslateService) {}
transform(attributeValue: any, group: string, prefix: string = 'labels'): string {
const translationKey = `${prefix}.${group}.${attributeValue}`;
return this.translateService.instant(translationKey);
}
}