Closed
Description
Issue Summary
This package prevents typescript to work correctly due to problems with typescript definitions.
node_modules/@sendgrid/client/src/client.d.ts(37,10): error TS2714: The expression of an export assignment must be an identifier or qualified name in an ambient context.
node_modules/@sendgrid/helpers/classes/email-address.d.ts(11,3): error TS7010: 'fromData', which lacks return-type annotation, implicitly has an 'any' return type.
node_modules/@sendgrid/helpers/classes/email-address.d.ts(16,3): error TS7010: 'setName', which lacks return-type annotation, implicitly has an 'any' return type.
node_modules/@sendgrid/helpers/classes/email-address.d.ts(21,3): error TS7010: 'setEmail', which lacks return-type annotation, implicitly has an 'any' return type.
node_modules/@sendgrid/mail/src/mail.d.ts(33,10): error TS2714: The expression of an export assignment must be an identifier or qualified name in an ambient context.
Steps to Reproduce
- Install latest typescript
- Install latest @sendgrid/mail
- Set up a strict typescript environment
Technical details:
- sendgrid-nodejs Version: 6.1.4
- Node.js Version: 9.1
- TypeScript: 2.6.1