We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Using Baileys on a project that uses pino from version 8 and beyond, when building it complains of type mismatches.
src/libs/wbot.ts(130,11): error TS2322: Type 'Logger<never, boolean>' is not assignable to type 'Logger'.
To Reproduce
On a project with pino version 8 or above, try to use the Logger object as a parameter of makeWASocket or other functions that accepts a
Expected behavior
Project building correctly, but it ends on the described error.
Using "as any" makes it work since the prototypes and usage matches correctly
Environment (please complete the following information): not aplicable
Additional context not aplicable
The text was updated successfully, but these errors were encountered:
update pino dependecy - fix WhiskeySockets#1249
a8d6e0d
update pino dependency - fix WhiskeySockets#1249
2276e34
No branches or pull requests
Describe the bug
Using Baileys on a project that uses pino from version 8 and beyond, when building it complains of type mismatches.
src/libs/wbot.ts(130,11): error TS2322: Type 'Logger<never, boolean>' is not assignable to type 'Logger'.
To Reproduce
On a project with pino version 8 or above, try to use the Logger object as a parameter of makeWASocket or other functions that accepts a
Expected behavior
Project building correctly, but it ends on the described error.
Using "as any" makes it work since the prototypes and usage matches correctly
Environment (please complete the following information):
not aplicable
Additional context
not aplicable
The text was updated successfully, but these errors were encountered: