diff --git a/lib/client-logger/src/index.ts b/lib/client-logger/src/index.ts index bf95482a83a..be814d8b8a7 100644 --- a/lib/client-logger/src/index.ts +++ b/lib/client-logger/src/index.ts @@ -10,7 +10,7 @@ export const logger = { error: (message: any, ...rest: any[]): void => console.error(message, ...rest), }; -export const pretty = (type: 'debug') => (...args: string[]) => { +export const pretty = (type: keyof typeof logger) => (...args: string[]) => { const argArray = []; if (args.length) {