Strict done!!

This commit is contained in:
tanshu committed 2020-11-23 16:42:54 +05:30
1 parent af343cb7f9
commit afe746ecdc
142 files changed
+1258 -907

No files matched your search

@@ -46,8 +46,8 @@ export class SettingsService {
quantity: number,
): Observable<boolean> {
const url = '/api/reset-stock';
return this.http
.post<any>(`${url}/${product.id}`, { stockDate, resetDate, quantity })
return <Observable<boolean>>this.http
.post<boolean>(`${url}/${product.id}`, { stockDate, resetDate, quantity })
.pipe(catchError(this.log.handleError(serviceName, 'resetStock')));
}