pinojs/pino

ESLint: Unsafe call of an `any` typed value.(@typescript-eslint/no-unsafe-call)

Closed this issue · 2 comments

import { default as Pino }  from 'pino'

const logger = Pino(  {
  level: 'info'
});

export default logger;

I'm getting ESLint: Unsafe call of an any typed value.(@typescript-eslint/no-unsafe-call) with this simple initialization.

Thanks for reporting!

Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If it involves more than a couple of different file, create a new repository on GitHub and add a link to that.

In this case, please include both your eslint & ts config.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.