We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Summary of proposed feature When using typescript we cannot set all node mailer options without resorting to typecasting to any.
Purpose of proposed feature Enable setting other node mailer options like secure, authMethod, tls options, etc.
secure
authMethod
tls
Detail about proposed feature Either add secure type, or better yet, extend the ProviderEmailServer type to extend SMTPConnection.Options type: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/623f3889f0fac1ed3284066f990cebf3d86d1d64/types/nodemailer/lib/smtp-connection/index.d.ts#L131
ProviderEmailServer
SMTPConnection.Options type
Potential problems N/A
Describe any alternatives you've considered I casted the server field to any. A suboptimal solution.
server
any
Additional context Any other context, screenshots, etc.
Please indicate if you are willing and able to help implement the proposed feature. Probably, if time allows.
The text was updated successfully, but these errors were encountered:
This sounds like a good issue for the DefinitelyTyped repo, where TypeScript definitions for NextAuth.js currently live: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/next-auth/providers.d.ts
Sorry, something went wrong.
nodemailer
Successfully merging a pull request may close this issue.
Summary of proposed feature
When using typescript we cannot set all node mailer options without resorting to typecasting to any.
Purpose of proposed feature
Enable setting other node mailer options like
secure
,authMethod
,tls
options, etc.Detail about proposed feature
Either add secure type, or better yet, extend the
ProviderEmailServer
type to extendSMTPConnection.Options type
:https://github.com/DefinitelyTyped/DefinitelyTyped/blob/623f3889f0fac1ed3284066f990cebf3d86d1d64/types/nodemailer/lib/smtp-connection/index.d.ts#L131
Potential problems
N/A
Describe any alternatives you've considered
I casted the
server
field toany
. A suboptimal solution.Additional context
Any other context, screenshots, etc.
Please indicate if you are willing and able to help implement the proposed feature.
Probably, if time allows.
The text was updated successfully, but these errors were encountered: