From e211ea86f8556450f50ba44257a8462075e6dc84 Mon Sep 17 00:00:00 2001 From: Igor Morozov Date: Mon, 3 Feb 2020 20:23:13 +0300 Subject: [PATCH] Add missing disableTLSCerts method (#42056) According to docs https://github.com/visionmedia/superagent/blob/master/docs/index.md#tls-options --- types/superagent/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/superagent/index.d.ts b/types/superagent/index.d.ts index 315248209c..798a88448e 100644 --- a/types/superagent/index.d.ts +++ b/types/superagent/index.d.ts @@ -133,6 +133,7 @@ declare namespace request { ca(cert: string | string[] | Buffer | Buffer[]): this; cert(cert: string | string[] | Buffer | Buffer[]): this; clearTimeout(): this; + disableTLSCerts(): this; end(callback?: CallbackHandler): void; field(name: string, val: MultipartValue): this; field(fields: { [fieldName: string]: MultipartValue }): this;