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

@ -16,7 +16,11 @@ const serviceName = 'CashFlowService';
export class CashFlowService {
constructor(private http: HttpClient, private log: ErrorLoggerService) {}
list(id: string, startDate: string, finishDate: string): Observable<CashFlow> {
list(
id: string | null,
startDate: string | null,
finishDate: string | null,
): Observable<CashFlow> {
const options = { params: new HttpParams() };
if (startDate !== null) {
options.params = options.params.set('s', startDate);