From e3857a3b3edc4ea523e8f1849498a59b3046cdd9 Mon Sep 17 00:00:00 2001 From: Szymon Marczak Date: Fri, 21 Jun 2019 09:27:37 +0200 Subject: [PATCH] nitpicks --- source/utils/types.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/source/utils/types.ts b/source/utils/types.ts index ba41155b7..d37f3733b 100644 --- a/source/utils/types.ts +++ b/source/utils/types.ts @@ -110,7 +110,6 @@ export type Headers = Record; export interface Options extends Omit { host?: string; body?: string | Buffer | ReadableStream; - userData?: unknown; hostname?: string; path?: string; socketPath?: string; @@ -139,13 +138,11 @@ export interface Options extends Omit | Keyv | false; url?: URL | string; searchParams?: Record | URLSearchParams | string; - /* - Deprecated - */ - query?: Options['searchParams']; + query?: Options['searchParams']; // Deprecated useElectronNet?: boolean; form?: Record; json?: Record; + userData?: unknown; } export interface NormalizedOptions extends Omit, 'timeout' | 'dnsCache' | 'retry'> {