Skip to content

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

@huricool

Description

@huricool

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions