chore: More typescript FIXME's removed

This commit is contained in:
Tom Moor
2022-01-06 21:25:42 -08:00
parent 8d05c752ea
commit c6cc04cad8
58 changed files with 199 additions and 221 deletions

View File

@@ -47,8 +47,7 @@ export default function init() {
name: event.name,
modelId: event.modelId,
});
// @ts-expect-error ts-migrate(7006) FIXME: Parameter 'error' implicitly has an 'any' type.
processor.on(event).catch((error) => {
processor.on(event).catch((error: Error) => {
Logger.error(
`Error processing ${event.name} in ${event.service}`,
error,