mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [@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. |
||
|---|---|---|
| .. | ||
| index.d.ts | ||
| request-tests.ts | ||
| tsconfig.json | ||
| tslint.json | ||