Fix RequestOptions.body type to include null (#1300)

Fixes #1291
This commit is contained in:
Victor Villas
2020-09-10 10:21:41 -03:00
committed by delvedor
parent 9d747121e8
commit 8c1646a662

2
lib/Connection.d.ts vendored
View File

@ -33,7 +33,7 @@ interface ConnectionRoles {
interface RequestOptions extends http.ClientRequestArgs {
asStream?: boolean;
body?: string | Buffer | ReadableStream;
body?: string | Buffer | ReadableStream | null;
querystring?: string;
}