There is no typings for such classess as Markup, Scene, Session, etc.
So how do i declare them without ruinning Telegraf typings ?
I've made telegraf.d.ts and declared them there, but ts still warns me about there is no such module.
This is happening only when i'm also declaring telegraf to extend its interfaces to add props as scene and whatever else.
There is no typings for such classess as Markup, Scene, Session, etc. So how do i declare them without ruinning Telegraf typings ?
I've made telegraf.d.ts and declared them there, but ts still warns me about there is no such module. This is happening only when i'm also declaring telegraf to extend its interfaces to add props as scene and whatever else.
Any options how to make it right?