-
Notifications
You must be signed in to change notification settings - Fork 655
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
chore(deps): upgrade to typescript 4 #739
Conversation
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.
LGTM!
@@ -138,7 +138,7 @@ class LighthouseRunner { | |||
while (attempts.length < 3) { | |||
try { | |||
return await this.run(url, options); | |||
} catch (err) { | |||
} catch (/** @type {any} */ err) { |
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.
if these are always going to be cast to any
, there's not really any point to the check and it's probably just better to disable it with "useUnknownInCatchVariables": false
to avoid the noise and potential future issues with type casts. That's what we do in Lighthouse.
Co-authored-by: Brendan Kenny <[email protected]>
Flaky ci :( |
No description provided.