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 GitHub
parent e86d38087e
commit f15ecd8477

2
lib/Connection.d.ts vendored
View File

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