11export const IndustryEnumToLabel : {
22 [ key : string ] : string
33} = {
4- ' ConsumerGoods' : 'Consumer goods' ,
5- ' PublicSector' : 'Public sector' ,
6- ' TechAndTechnologyService' : 'Tech & technology services' ,
7- ' TravelAndHospitality' : 'Travel & hospitality' ,
4+ ConsumerGoods : 'Consumer goods' ,
5+ PublicSector : 'Public sector' ,
6+ TechAndTechnologyService : 'Tech & technology services' ,
7+ TravelAndHospitality : 'Travel & hospitality' ,
88}
99
1010export const IndustryLabelToEnum : {
@@ -16,8 +16,7 @@ export const IndustryLabelToEnum: {
1616 'Travel & hospitality' : 'TravelAndHospitality' ,
1717}
1818
19-
20- export const getIndustryOptionValues = ( v : string ) => {
19+ export const getIndustryOptionValues = ( v : string ) : string => {
2120 const values = Object . values ( IndustryEnumToLabel )
2221 const keys = Object . keys ( IndustryEnumToLabel )
2322 if ( values . includes ( v ) ) {
@@ -31,11 +30,11 @@ export const getIndustryOptionValues = (v: string) => {
3130 return v
3231}
3332
34- export const getIndustryOptionLabels = ( v : string ) => {
33+ export const getIndustryOptionLabels = ( v : string ) : string => {
3534 const keys = Object . keys ( IndustryEnumToLabel )
3635 if ( keys . includes ( v ) ) {
3736 return IndustryEnumToLabel [ v ]
3837 }
3938
4039 return v
41- }
40+ }
0 commit comments