-
Notifications
You must be signed in to change notification settings - Fork 654
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
Typings issue in version 1.9.0 #176
Comments
I have published version 1.9.1, which includes a fix for this issue. |
I think this fix is wrong. node-grpc is using protobufjs ^5.0.0 as a dependency, and in this version of protobufjs's typings Message is not a generic class. |
@murgatroid99 It seems this might still be an issue; Message: |
@murgatroid99 I'm having the same issue with grpc version 1.11.3. I'm trying to use pbjs (protobufjs), but keep running into |
@respinha-ribeiro Can you comment on which version of Protobuf.js type definitions you are using? The fix for this change seems to break other users. |
@miv is right, this package use protobufjs 5 so you should import @types/protobufjs@^5.x.x in you project. |
If I run
tsc -d
on my Typescript source I get the following message:grpc-node version: 1.9.0
Typescript version: 2.7.1
tsconfig.json
compiler options:The text was updated successfully, but these errors were encountered: