fix eslint warnigs for core project (#7506)

This commit is contained in:
Denys Vuika
2022-02-17 14:35:33 +00:00
committed by GitHub
parent 5b7f255eec
commit bca5a783ab
246 changed files with 5127 additions and 5065 deletions

View File

@@ -249,7 +249,7 @@ export class WidgetVisibilityService {
private getFormTabContainers(form: FormModel): ContainerModel[] {
if (!!form) {
return <ContainerModel[]> form.fields.filter(field => field.type === 'container' && field.tab);
return form.fields.filter(field => field.type === 'container' && field.tab) as ContainerModel[];
}
return [];
}
@@ -345,7 +345,7 @@ export class WidgetVisibilityService {
.pipe(
map((res) => {
const jsonRes = this.toJson(res);
this.processVarList = <TaskProcessVariableModel[]> jsonRes;
this.processVarList = jsonRes;
return jsonRes;
}),
catchError(() => this.handleError())