lkaric / nestjs-twilio

Injectable Twilio client for Nestjs.
https://www.npmjs.com/package/nestjs-twilio
MIT License
42 stars 10 forks source link

Property 'forRoot' does not exist on type 'typeof TwilioModule' #45

Closed Dubask closed 1 year ago

Dubask commented 1 year ago

Bug Report

Describe the Bug

Getting Property 'forRoot' does not exist on type 'typeof TwilioModule' A clear and concise description of what the bug is.

How to Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository: just add the twilioModule.forRoot....

Expected Behavior

forRoot will not give an ts error

Screen Shot 2022-12-01 at 21 07 17

Tell me what should happen.

Error

Error resulted by the potential bug.

Your Environment

mac, vscode

Error reproducing steps

Please explain how did your error ocurr, you can also leave gists, repos or any kind of codebase.

Additional Information

Any other information about the problem here.

lkaric commented 1 year ago

@Dubask What version of Nestjs are you on?

thezeeshantariq commented 1 year ago

Facing the same issue: here is version info from package.json

"@nestjs-modules/mailer": "^1.7.1", "@nestjs/common": "^8.0.0", "@nestjs/config": "^2.1.0", "@nestjs/core": "^8.0.0",

and the version of nestjs-twilio: 3.2.0

lkaric commented 1 year ago

@thezeeshantariq @Dubask Please read through https://github.com/rejvban/nestjs-twilio/issues/42, the issue is the same probably for both of you. I made a note to add this to the documentation

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.