Describe the bug
Running tsc to build with typescript fails with the error:
❯ yarn build
yarn run v1.22.4
$ tsc
node_modules/telegraf-session-local/lib/session.d.ts:33:3 - error TS2309: An export assignment cannot be used in a module with other exported elements.
33 export = LocalSession
Versions
Did you updated telegraf and telegraf-inline-menu to the latest version? (Yes)
Version of telegraf: ^3.38.0
Version of telegraf-inline-menu: ^5.0.0
What version of NodeJS (and TypeScript) do you use?
Version of NodeJS: 12.18.2
Version of Yarn : 1.22.4
Version of TypeScript: ^3.9.5
To Reproduce
Steps to reproduce the behavior:
Delete node_modules
Run yarn
Run yarn tsc
See error
Expected behavior
The build to run without any error.
Describe the bug Running tsc to build with typescript fails with the error:
Versions Did you updated telegraf and telegraf-inline-menu to the latest version? (Yes)
What version of NodeJS (and TypeScript) do you use?
To Reproduce Steps to reproduce the behavior:
node_modules
yarn
yarn tsc
Expected behavior The build to run without any error.