Strict done!!

This commit is contained in:
2020-11-23 16:42:54 +05:30
parent af343cb7f9
commit afe746ecdc
142 changed files with 1258 additions and 907 deletions

View File

@ -12,7 +12,7 @@ function compare(a: string | number, b: string | number, isAsc: boolean) {
return (a < b ? -1 : 1) * (isAsc ? 1 : -1);
}
export class EmployeeListDataSource extends DataSource<Employee> {
private filterValue: string = "";
private filterValue = '';
constructor(
public data: Employee[],
@ -94,7 +94,7 @@ export class EmployeeListDataSource extends DataSource<Employee> {
case 'joiningDate':
return compare(a.joiningDate, b.joiningDate, isAsc);
case 'leavingDate':
return compare(a.leavingDate || "", b.leavingDate || "", isAsc);
return compare(a.leavingDate || '', b.leavingDate || '', isAsc);
default:
return 0;
}