mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-10 03:00:37 +00:00
* [@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