opened
smbell
Bug: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/33242

To make the type definition consistent with both the implementation and api docs as indicated in the bug, we are updating the return values of `rethrowResult` and `retryResult` to return a `DecisionInfo` object.

Additionally the `DecisionInfo` object will have it's `consistency` field made optional and a new optional field of `useCurrentHost` is added.

Please fill in this template.

- [ ] Use a meaningful title for the pull request. Include the name of the package modified.
- [ ] Test the change in your own code. (Compile and run.)
- [ ] Add or edit tests to reflect the change. (Run with `npm test`.)
- [ ] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [ ] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [ ] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).

Select one of these and delete the others:

If changing an existing definition:
- [ ] Provide a URL to documentation or source code which provides context for the suggested changes: <<url here>>
- [ ] Increase the version number in the header if appropriate.
- [ ] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.
Fix return values of rethrowResult and retryResult
issue
created
pc-jedi
@michal-b-kaminski For some reason the typescript bot is ignoring that you are also a maintainer
comment
created
michal-b-kaminski
I think they have to update CODEOWNERS for that, and it's been 3 weeks since they did it last.
comment
<!--header {"slug":"merge"} headerend-->
A definition owner has approved this PR ⭐️. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait. Thank you for your contribution to DefinitelyTyped!
<!--footer bot @ 2019-2-23 02:24:02 footerend-->
This message directly preceded comment from bot *typescript-bot* by author *pc-jedi*:
@michal-b-kaminski For some reason the typescript bot is ignoring that you are also a maintainer
I just published [`@types/cassandra-driver@4.0.3` to npm](https://www.npmjs.com/package/@types/cassandra-driver).
This message directly preceded comment from bot *typescript-bot* by author *michal-b-kaminski*:
I think they have to update CODEOWNERS for that, and it's been 3 weeks since they did it last.
This message directly preceded comment from bot *typescript-bot* by author *pc-jedi*:
@michal-b-kaminski For some reason the typescript bot is ignoring that you are also a maintainer
This message directly preceded comment from bot *typescript-bot* by author *michal-b-kaminski*:
I think they have to update CODEOWNERS for that, and it's been 3 weeks since they did it last.