From 9fc562be3dd3daec17e1a88bc5c2aa36becff2c8 Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Thu, 26 Dec 2024 13:46:15 -0500 Subject: [PATCH] avoid use of `any` in logger.ts --- packages/backend/src/logger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/logger.ts b/packages/backend/src/logger.ts index c24c1419c2..3b20ae5df0 100644 --- a/packages/backend/src/logger.ts +++ b/packages/backend/src/logger.ts @@ -19,7 +19,7 @@ type Context = { type Level = 'error' | 'success' | 'warning' | 'debug' | 'info'; type Data = DataElement | DataElement[]; -type DataElement = Record | string | null; +type DataElement = Record | Error | string | null; // eslint-disable-next-line import/no-default-export export default class Logger {