Open zivni opened 2 months ago
You should not modify the content in node_modules. Which versions of the plugin and the core lib are installed? Can you npm ls
them?
Also, consider enabling skipLibCheck
in your TS config.
I know I shouldn't just was checking to see what's wrong.
I'm using yarn and installed the latest of both:
grammy 1.29.0 @grammyjs/conversations 1.2.0 @grammyjs/menu 1.2.2 @grammyjs/types 3.13.0
Interesting, I'll try to reproduce this in a few days and see if it can be fixed by changing anything in the plugin. Until then, you can use skipLibCheck
.
Naturally, if you feel like fixing it yourself in the code, please go ahead and open a pull request.
I'm getting the following error:
The fix seems to be adding
type MiddlewareFn
to the import from "./deps.node.js", and removing the import frim line 601@grammyjs/conversations it works OK.