We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
protobuf.js version: protobufjs-cli 1.1.2
When generating static code from a proto3 file, and subsequently generating the typescript definitions, each message ends up as
export class MyMessage implements IMyMessage{ ... }
The interface IMyMessage is not declared anywhere
The text was updated successfully, but these errors were encountered:
@GithubUser8080 I had the same issue. I fixed it by adding a "package" into my proto files. Hope this helps
Sorry, something went wrong.
Thank you @gburatti this also caused an issue where I could do:
sender: (IPerson|null); // IPerson was coming up unresolved *any* // which allowed you to do: MyMessage.sender = 'someName';
(vs MyMessage.sender = { name: 'someName' })
There is another solution for this: we could set Person to I
No branches or pull requests
protobuf.js version: protobufjs-cli 1.1.2
When generating static code from a proto3 file, and subsequently generating the typescript definitions, each message ends up as
The interface IMyMessage is not declared anywhere
The text was updated successfully, but these errors were encountered: