diff --git a/request/index.d.ts b/request/index.d.ts index db8f2a3f39..71c69f9d49 100644 --- a/request/index.d.ts +++ b/request/index.d.ts @@ -97,7 +97,7 @@ declare namespace request { followRedirect?: boolean | ((response: http.IncomingMessage) => boolean); followAllRedirects?: boolean; maxRedirects?: number; - encoding?: string; + encoding?: string | null; pool?: any; timeout?: number; proxy?: any;