avoid use of any in logger.ts

This commit is contained in:
Hazelnoot 2024-12-26 13:46:15 -05:00
parent 45f7743323
commit 9fc562be3d

View file

@ -19,7 +19,7 @@ type Context = {
type Level = 'error' | 'success' | 'warning' | 'debug' | 'info'; type Level = 'error' | 'success' | 'warning' | 'debug' | 'info';
type Data = DataElement | DataElement[]; type Data = DataElement | DataElement[];
type DataElement = Record<string, any> | string | null; type DataElement = Record<string, unknown> | Error | string | null;
// eslint-disable-next-line import/no-default-export // eslint-disable-next-line import/no-default-export
export default class Logger { export default class Logger {