Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MethodDescriptor to TypeScript definitions #868

Closed
smnbbrv opened this issue Jun 24, 2020 · 0 comments · Fixed by #886
Closed

Add MethodDescriptor to TypeScript definitions #868

smnbbrv opened this issue Jun 24, 2020 · 0 comments · Fixed by #886

Comments

@smnbbrv
Copy link

smnbbrv commented Jun 24, 2020

A followup of #865 (comment)

The TypeScript definitions do not have the MethodDescriptor exported.

With bypassing the typings

declare var require;

console.log(require('grpc-web').MethodDescriptor);

I can read it in TypeScript.

Looks like grpc-web's TypeScript mode still uses the deprecated MethodInfo instead and should be updated as well.

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 a pull request may close this issue.

1 participant