DefinitelyTyped/types/node/v10
Nathan Rajlich 1d9e9b1590 [@types/node] Add missing method property to http.ClientRequest (#41029)
* [@types/node] Add missing `method` property to `http.ClientRequest`

* Test `req.method`

* Move above `path`

Because it gets set in that order in the source code.

* [@types/node] Remove `readonly` from `http.ClientRequest`

There is nothing in the source code that prevents this property
from being overwritten, and user code and/or modules may change
this property before flushing the HTTP header.

* Add test

* Add to v10

* Add `req.method` to v10 types

* Fix v10 types
2019-12-23 10:08:32 -06:00
..
ts3.2
assert.d.ts
async_hooks.d.ts
base.d.ts
buffer.d.ts
child_process.d.ts
cluster.d.ts
console.d.ts
constants.d.ts
crypto.d.ts
dgram.d.ts
dns.d.ts
domain.d.ts
events.d.ts
fs.d.ts
globals.d.ts
http2.d.ts
http.d.ts [@types/node] Add missing method property to http.ClientRequest (#41029) 2019-12-23 10:08:32 -06:00
https.d.ts
index.d.ts
inspector.d.ts
module.d.ts
net.d.ts
node-tests.ts
os.d.ts
package.json
path.d.ts
perf_hooks.d.ts
process.d.ts
punycode.d.ts
querystring.d.ts
readline.d.ts
repl.d.ts
stream.d.ts
string_decoder.d.ts
timers.d.ts
tls.d.ts
trace_events.d.ts
tsconfig.json
tslint.json
tty.d.ts
url.d.ts
util.d.ts
v8.d.ts
vm.d.ts
worker_threads.d.ts
zlib.d.ts