Explicitly set catch parameters to any type (#7654)

This fixes not being able to build the repo due to type issues
introduced by the Typescript 4.4 option "useUnknownInCatchVariables",
which is enabled by default in strict mode.
This commit is contained in:
Nicola Krumschmidt
2021-08-27 16:33:30 +02:00
committed by GitHub
parent 114dd5e3e3
commit d64ca14348
133 changed files with 266 additions and 266 deletions

View File

@@ -277,7 +277,7 @@ export class FieldsService {
if (!field.schema) return;
this.addColumnToTable(table, field, existingColumn);
});
} catch (err) {
} catch (err: any) {
throw await translateDatabaseError(err);
}
}