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

@ -18,7 +18,7 @@ const serviceName = 'AttendanceService';
export class AttendanceService {
constructor(private http: HttpClient, private log: ErrorLoggerService) {}
get(date: string): Observable<Attendance> {
get(date: string | null): Observable<Attendance> {
const getUrl: string = date === null ? url : `${url}/${date}`;
return <Observable<Attendance>>(
this.http