Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some decorations broken #41

Open
R3flector opened this issue Apr 22, 2023 · 2 comments
Open

Some decorations broken #41

R3flector opened this issue Apr 22, 2023 · 2 comments

Comments

@R3flector
Copy link

@Chattype and @UpdateFilter not working

@KnorpelSenf
Copy link
Member

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants