nestjs icon indicating copy to clipboard operation
nestjs copied to clipboard

Some decorations broken

Open R3flector opened this issue 1 year ago • 4 comments

@ChatType and @UpdateFilter not working

R3flector avatar Apr 22 '23 17:04 R3flector

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 :)

KnorpelSenf avatar Apr 23 '23 15:04 KnorpelSenf

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.

R3flector avatar Apr 24 '23 19:04 R3flector