mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [@types/got] Support retries of "POST" method The current list of supported methods for RetryOptions omits the "POST" method. I believe this is because the list was taken from https://www.npmjs.com/package/got#retry however this is only the _default_ methods that are supported. [This issue](https://github.com/sindresorhus/got/issues/757) from the `got` GitHub repo indicates that it _is_ possible to specifically state that you would like to retry on POST as well. I have a use-case where I'd like to automatically retry failed POSTs but can't right now without overriding the typing. * Add @ryanwilsonperkin to authors list To allow dt-bot to ping me of changes to these interfaces and to help support additional typing changes. * Add test that "POST" is a supported method * Match order of other method lists Every other list of methods puts POST before PUT. Minor point, but may as well match convention. * fix: Remove duplicate POST |
||
|---|---|---|
| .. | ||
| v8 | ||
| got-tests.ts | ||
| index.d.ts | ||
| tsconfig.json | ||
| tslint.json | ||