-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
TypeScript definition file missing static "create", "encode" and "decode" methods #820
Comments
ben-x9
changed the title
Message classes in TypeScript definition file missing static "create", "encode" and "decode" methods
Classes in TypeScript definition file missing static "create", "encode" and "decode" methods
Jun 2, 2017
ben-x9
changed the title
Classes in TypeScript definition file missing static "create", "encode" and "decode" methods
TypeScript definition file missing static "create", "encode" and "decode" methods
Jun 2, 2017
This appears to happen whenever package is not specified in a .proto file |
Issue I reported (#822) seems to be duplicate of this. Is that intentional behaviour? Can it be fixed so that we don't need to specify package in our .proto file? |
Do you know if this also affects master? (6.8.0) |
It does |
Can you confirm that this fixes this issue? Feel free to reopen if it does not (fully). |
dcodeIO
added a commit
that referenced
this issue
Jun 9, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
protobuf.js version: 6.7.3
I followed the README and ran this code to compile
The generated compiled.js works fine but the compiled.d.ts file is missing static methods on all the classes:
The text was updated successfully, but these errors were encountered: