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

proto-loader: Switch long dependency back to 4.x #2114

Merged
merged 1 commit into from May 5, 2022

Conversation

murgatroid99
Copy link
Member

This puts it back to the way it was before I started changing this, but leaves the change to the import line intact so that it is still compatible with 5.x. When I started this, I didn't realize that long 4.x actually has a separate @types/long package, but 5.x includes its types. TypeScript seems to prefer the included type information, so the types in 5.x would override the types for 4.x even if the user explicitly declared a dependency on @types/long 4.x.

This should fix #2113.

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

Successfully merging this pull request may close these issues.

typescript error with @grpc/proto-loader: 0.6.11
2 participants