Skip to content

Conversation

ggoodman
Copy link
Contributor

This PR changes the types of the error argument to client method callbacks so that these are typed as grpc.ServiceErrors instead of generic Errors. This allows users of this tooling to leverage error codes and metadata without fighting typescript.

Note: [email protected] from the package-lock.json was failing to build for me on Mojave and [email protected] so I bumped the version of grpc to the latest 1.x in the package-lock.json.

@agreatfool agreatfool merged commit 78264f1 into agreatfool:master Nov 13, 2018
@agreatfool
Copy link
Owner

New version 2.4.1 has been published. Thank you for your PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants