mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-01-10 11:52:36 +01:00
avoid use of any
in logger.ts
This commit is contained in:
parent
45f7743323
commit
9fc562be3d
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue