grammyjs / nestjs

grammY integration for NestJS.
42 stars 11 forks source link

Some decorations broken #41

Open R3flector opened 1 year ago

R3flector commented 1 year ago

@ChatType and @UpdateFilter not working

KnorpelSenf commented 1 year ago

Remember that when you say it “doesn't work”, we cannot login to your computer and figure out what's wrong. You need to explain what you are doing, what you are expecting to happen, and what is actually happening. If there's an error, share the full error message, too :)

R3flector commented 1 year ago

nest new myproject (with pnpm) replace src folder from sample-echo-bot / change .env pnpm add debug grammy @grammyjs/nestjs @grammyjs/types pnpm start:dev


[10:34:00 PM] Starting compilation in watch mode...

src/app/bot/bot.update.ts:11:3 - error TS2305: Module '"@grammyjs/nestjs"' has no exported member 'ChatType'.

11 ChatType,


src/app/bot/bot.update.ts:13:3 - error TS2305: Module '"@grammyjs/nestjs"' has no exported member 'UpdateFilter'.

13   UpdateFilter,

[10:34:01 PM] Found 2 errors. Watching for file changes.