typegram: Type bug

Hi. I’m having this issue when I compile. I’m using: “telegraf”: “^4.11.2”.

node_modules/telegraf/typings/composer.d.ts:7:15 - error TS1005: ',' expected.

7 import { type CallbackQuery } from './core/types/typegram';
                ~~~~~~~~~~~~~

node_modules/typegram/index.d.ts:10:15 - error TS1005: ',' expected.

10 export { type Typegram } from "./proxied";
                 ~~~~~~~~

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 18 (11 by maintainers)

Most upvoted comments

That error isn’t related to typegram anymore, even though it may seem like that because it’s importing from typegram.

I’ll wait for another confirmation, though.