avoid use of any in logger.ts
This commit is contained in:
@@ -19,7 +19,7 @@ type Context = {
|
||||
type Level = 'error' | 'success' | 'warning' | 'debug' | 'info';
|
||||
|
||||
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
|
||||
export default class Logger {
|
||||
|
||||
Reference in New Issue
Block a user