Files
DefinitelyTyped/types/node/v10
Nathan RajlichandAndrew Branch 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
..