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'> {