Skip to content
Snippets Groups Projects
Commit 9fc562be authored by Hazelnoot's avatar Hazelnoot
Browse files

avoid use of `any` in logger.ts

parent 45f77433
No related branches found
No related tags found
2 merge requests!842Bump stable version,!837rethrow everything but non-retryable HTTP errors
Pipeline #2214 passed with stage
in 25 minutes and 9 seconds
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment