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

int64 refers to $protobuf.Long which is not defined #8

Closed
JustGreg opened this issue Apr 10, 2017 · 0 comments
Closed

int64 refers to $protobuf.Long which is not defined #8

JustGreg opened this issue Apr 10, 2017 · 0 comments
Assignees
Labels

Comments

@JustGreg
Copy link

int64, sint64, fixed64 and sfixed64 will converted to (number|$protobuf.Long).
However, $protobuf is not defined in the namespace file.

inserting import * as $protobuf from 'protobufjs'; at the top of the namespace file will fix the problem.

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

No branches or pull requests

2 participants