abreits / amqp-ts

AmqpSimple, a RabbitMQ tested Amqp library written in and for Typescript
MIT License
133 stars 37 forks source link

Namespace 'winston' has no exported member 'LoggerInstance'. #48

Open mfaizanse opened 4 years ago

mfaizanse commented 4 years ago

Hi, i am getting the following error:

> tsc

node_modules/amqp-ts/lib/amqp-ts.d.ts:13:33 - error TS2694: Namespace 'winston' has no exported member 'LoggerInstance'.

13 export declare var log: winston.LoggerInstance;

Found 1 error.

I think that this package is still using the old winston version (2.2.0) and my project is using winston version 3. Maybe thats the issue. In that case can we update this package to use latest winston?

stefanomiccoli commented 4 years ago

same issue here

FedorovP777 commented 2 years ago

same issue here