EOSIO / demux-js

💫 Deterministic event-sourced state and side effect handling for blockchain applications
MIT License
307 stars 71 forks source link

TS7016: Could not find declaration for module 'bunyan' #158

Closed matei-radu closed 1 year ago

matei-radu commented 5 years ago

The definition for AbstractActionHandler refers to the bunyan logger which prevents Typescript from compiling if you are not using that logger.

The workaround is to install the typings for it via @types/bunyan, regardless if you are using Bunyan or not. However, this shouldn't be the case as that logger isn't really needed anywhere in the typings for the handler.