mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-03-12 01:32:12 +00:00
refactor: replace TSLint with ESLint
This commit is contained in:
committed by
Jovan Krunić
parent
67fb4a43c9
commit
d696215d08
@@ -25,7 +25,7 @@ export class DataIconPipe implements PipeTransform {
|
||||
/**
|
||||
* Mapping from data types to ionic icons to show
|
||||
*/
|
||||
typeIconMap: {[type in SCThingType] : string; };
|
||||
typeIconMap: {[type in SCThingType]: string};
|
||||
|
||||
constructor() {
|
||||
this.typeIconMap = {
|
||||
@@ -57,9 +57,9 @@ export class DataIconPipe implements PipeTransform {
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Provide the icon name from the data type
|
||||
*/
|
||||
/**
|
||||
* Provide the icon name from the data type
|
||||
*/
|
||||
transform(type: SCThingType): string {
|
||||
return this.typeIconMap[type];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user