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

setTimeout needs to be defined in mail.d.ts #1051

Closed
huricool opened this issue Mar 5, 2020 · 1 comment · Fixed by #1076
Closed

setTimeout needs to be defined in mail.d.ts #1051

huricool opened this issue Mar 5, 2020 · 1 comment · Fixed by #1076
Labels
difficulty: easy fix is easy in difficulty status: help wanted requesting help from the community type: bug bug in the library

Comments

@huricool
Copy link

huricool commented Mar 5, 2020

Issue Summary

The class MailService in mail.d.ts needs to define setTimeout in order to provide a proper type to the typescript compiler.

Steps to Reproduce

  1. N/A

Code Snippet

  /**
   * Set timeout for request
   */
  setTimeout(timeout: number): void;

Exception/Log

Technical details:

  • sendgrid-nodejs version: 6.5.4
  • node version: NODE 12 LTS
@huricool huricool changed the title setTimeout needs to be defined in setTimeout needs to be defined in mail.d.ts Mar 5, 2020
@childish-sambino childish-sambino added difficulty: easy fix is easy in difficulty status: help wanted requesting help from the community type: bug bug in the library labels Mar 5, 2020
@childish-sambino
Copy link
Contributor

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: easy fix is easy in difficulty status: help wanted requesting help from the community type: bug bug in the library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants