-
How can I access In worst situation, of course, I can try to get these types from the constructor and parameters, but I would like to have an easier way. export type LaunchOptions = Parameters<Telegraf['launch']>[0];
export type Options = ConstructorParameters<typeof Telegraf>[1]; |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Since de-exposing is breaking, I avoided exposing stuff for major release. I can easily expose them for 4.0.1 as If I exposed them at the top level as |
Beta Was this translation helpful? Give feedback.
-
Fixed: |
Beta Was this translation helpful? Give feedback.
Fixed:
npm install telegraf/telegraf#57f16c70901e3c73b9ab67933a926fedf7a2b11d