build: update linting deps (#24461)

This commit is contained in:
Samuel Attard 2020-07-08 21:19:49 -07:00 committed by GitHub
parent 80a6adb597
commit ad16e6c647
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 699 additions and 446 deletions

View file

@ -300,6 +300,10 @@ class ClientRequest extends Writable implements Electron.ClientRequest {
this._redirectPolicy = redirectPolicy;
}
get chunkedEncoding () {
return this._chunkedEncoding || false;
}
set chunkedEncoding (value: boolean) {
if (this._started) {
throw new Error('chunkedEncoding can only be set before the request is started');