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

feature: Typings codegen for bytes field type #482

Merged
merged 1 commit into from
Feb 27, 2019

Conversation

shaxbee
Copy link
Contributor

@shaxbee shaxbee commented Feb 27, 2019

Set correct types for bytes fields.
Generate get_asU8() and get_asB64 accessors.

Example: https://github.com/shaxbee/grpc-web-dts-example/blob/master/dts-bytes/example/example_pb.d.ts#L29
Fixes #464

Copy link
Collaborator

@stanley-cheung stanley-cheung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again for your contributions.

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

Successfully merging this pull request may close these issues.

TypeScript definition not using correct type for "bytes" proto type
3 participants