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

Unable to Instantiate a new MailService class #977

Closed
krazibit opened this issue Sep 3, 2019 · 1 comment
Closed

Unable to Instantiate a new MailService class #977

krazibit opened this issue Sep 3, 2019 · 1 comment
Labels
type: bug bug in the library

Comments

@krazibit
Copy link

krazibit commented Sep 3, 2019

Issue Summary

Unable to instantiate the MailService class as it thought to be a property by TS

Steps to Reproduce

import {MailService} from '@sendgrid/mail'
const ms = new MailService()

Error : Cannot use 'new' with an expression whose type lacks a call or construct signature.

Technical details:

  • sendgrid-nodejs Version: 6.4.0
  • Node.js Version: 10.15.3
@childish-sambino
Copy link
Contributor

Fixed by #921

@childish-sambino childish-sambino added the type: bug bug in the library label Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug bug in the library
Projects
None yet
Development

No branches or pull requests

2 participants