-
-
Notifications
You must be signed in to change notification settings - Fork 300
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
deps: update typescript to 5.3.3 #6491
Conversation
@@ -13,7 +13,7 @@ export async function fetchNearestBlock( | |||
): Promise<capella.SignedBeaconBlock> { | |||
const res = await api.beacon.getBlockV2(slot); | |||
|
|||
if (res.ok) return res.response.data; | |||
if (res.ok) return res.response.data as capella.SignedBeaconBlock; |
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.
The new typescript found this type issue?
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.
yes the newer version is strict when returning union type.
For reference the biggest change in this version is actually some technical debt on the Typescript side. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## unstable #6491 +/- ##
=========================================
Coverage 61.72% 61.72%
=========================================
Files 555 555
Lines 58204 58204
Branches 1839 1844 +5
=========================================
+ Hits 35925 35927 +2
+ Misses 22240 22238 -2
Partials 39 39 |
🎉 This PR is included in v1.17.0 🎉 |
Motivation
Keep the dependencies up-to-date.
Description
Update Typescript to latest 5.3.3.
Steps to test or reproduce