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

chore(deps): upgrade to typescript 4 #739

Merged
merged 5 commits into from
Jan 14, 2022
Merged

chore(deps): upgrade to typescript 4 #739

merged 5 commits into from
Jan 14, 2022

Conversation

connorjclark
Copy link
Collaborator

No description provided.

@connorjclark connorjclark changed the title deps: upgrade to typescript 4 chore(deps): upgrade to typescript 4 Jan 14, 2022
Copy link
Member

@brendankenny brendankenny left a 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) {
Copy link
Member

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.

packages/viewer/src/ui/components/lhci-components.jsx Outdated Show resolved Hide resolved
packages/viewer/src/ui/components/lhci-components.jsx Outdated Show resolved Hide resolved
@connorjclark
Copy link
Collaborator Author

Flaky ci :(

@connorjclark connorjclark merged commit b049ed7 into main Jan 14, 2022
@connorjclark connorjclark deleted the ts4 branch January 14, 2022 23:09
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.

2 participants