Switched on the @typescript-eslint/no-non-null-assertion rule in eslint.
Fixed the errors it threw up.
This commit is contained in:
@@ -58,7 +58,7 @@ export class RecipeService {
|
||||
startDate: string | null,
|
||||
finishDate: string | null,
|
||||
): Observable<ProductSku> {
|
||||
const getUrl: string = `${url}/ingredient-details/${id}`;
|
||||
const getUrl = `${url}/ingredient-details/${id}`;
|
||||
const options = {
|
||||
params: new HttpParams(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user