-
Notifications
You must be signed in to change notification settings - Fork 821
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
fix(plugin-http): typings #545
fix(plugin-http): typings #545
Conversation
bdb3426
to
4d4a96e
Compare
closes open-telemetry#541 Signed-off-by: Olivier Albertini <[email protected]>
4d4a96e
to
cf5bed1
Compare
Signed-off-by: Olivier Albertini <[email protected]>
2f79e81
to
c4b33c1
Compare
Codecov Report
@@ Coverage Diff @@
## master #545 +/- ##
==========================================
- Coverage 92.98% 90.22% -2.76%
==========================================
Files 147 144 -3
Lines 7694 7162 -532
Branches 654 649 -5
==========================================
- Hits 7154 6462 -692
- Misses 540 700 +160
|
You could wait until DefinitelyTyped/DefinitelyTyped#40430 is merged and a new version of @types/node got published as this would avoid several casts. I have already a version but not created a PR yet as it would no pass CI at this time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer @Flarna's suggestion to wait for DefinitelyTyped/DefinitelyTyped#40430 to merge as it would simplify this PR and require fewer casts. It is a popular package that has passed all checks and has multiple approvals so I expect it will be published very soon. |
Although I agree with your comment, I am not sure when will they cut a new release. This will also block other PRs, either we can remove the HTTP plugin from the build process or merge this PR and revisit once DefinitelyTyped/DefinitelyTyped#40430 is released or use lower version of Edit 1: I tried with @types/node => |
A new version of types packages is published automatically after a PR is merged. Hopefully that happens during the next hours but no gurantee. In my projects I tend to use a fixed version of @types/node and updated it every now and then manually. It happens quite easy that something get's broken otherwise - just like this time via some minor |
@obecny Even with the new version of @types/node changes are needed in the http/https plugins but fewer changes. I haven't tested the proposed version here against the future @types/node version. |
12.12.9 has been published, I created an alternative PR, see #548 |
Indeed, it would be another solution! I make this PR in the meantime of DefinitelyTyped/DefinitelyTyped#40430 but it was quick! |
Which problem is this PR solving?