From 208b23e1c40b84b671e4c6f160a9265e0a4c4aa3 Mon Sep 17 00:00:00 2001 From: childish-sambino Date: Mon, 30 Mar 2020 11:23:14 -0500 Subject: [PATCH] fix: add 'setTimeout' to the MailService TS definition (#1076) --- packages/mail/src/mail.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/mail/src/mail.d.ts b/packages/mail/src/mail.d.ts index 2231c4f16..0d57955c5 100644 --- a/packages/mail/src/mail.d.ts +++ b/packages/mail/src/mail.d.ts @@ -8,6 +8,11 @@ declare class MailService { */ setApiKey(apiKey: string): void; + /** + * Set the default request timeout (in milliseconds). + */ + setTimeout(timeout: number): void; + /** * Set substitution wrappers */