DefinitelyTyped/types/request
Matt R. Wilson 8433a74d30 [@types/request] Fill out Request and Response. (#23004)
* [@types/request] Fill out Request and Response.

This hold much more true to the actual lib where a `Request` and
`Response` reference each other and the `Request` has most of the
provided options merged onto it, plus other stuff.

Makes use of the newly added `@types/caseless` to DRY up some of the
header work.

Updated version reference from 2.0 to 2.47 to cover both the addition of
`caseless` and the removal of `getAgent` from the lib.

I have a project that uses `request-promise-native`, these changes work
in my testing and having the `Response` object typed allowed me to
remove all my declaration merging files from the `request` namespace.

* [@types/request] Update promise sub-libs.

Update `request-promise` and `request-promise-native` to use new
`Response` interface.
2018-01-29 11:57:16 -08:00
..
index.d.ts [@types/request] Fill out Request and Response. (#23004) 2018-01-29 11:57:16 -08:00
request-tests.ts [@types/request] Fill out Request and Response. (#23004) 2018-01-29 11:57:16 -08:00
tsconfig.json
tslint.json