This repository was archived by the owner on Nov 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ import { status } from '@app/shared/interfaces/values.interface';
66 name : 'statusColor'
77} )
88export class StatusColorPipe implements PipeTransform {
9-
10- transform ( value : unknown , ...args : unknown [ ] ) : string {
9+ transform ( value : string ) : string {
1110 switch ( value ) {
1211 case status . pending . label :
1312 return 'bg-orange-100 text-orange-800' ;
@@ -23,5 +22,4 @@ export class StatusColorPipe implements PipeTransform {
2322 return 'bg-slate-100 text-slate-800' ;
2423 }
2524 }
26-
2725}
Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ import { status } from '@app/shared/interfaces/values.interface';
66 name : 'statusValue'
77} )
88export class StatusValuePipe implements PipeTransform {
9-
10- transform ( value : unknown , ...args : unknown [ ] ) : string {
9+ transform ( value : string ) : string {
1110 switch ( value ) {
1211 case status . pending . label :
1312 return status . pending . locale ;
@@ -23,5 +22,4 @@ export class StatusValuePipe implements PipeTransform {
2322 return 'Pas disponible' ;
2423 }
2524 }
26-
2725}
You can’t perform that action at this time.
0 commit comments