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

refactor(core): enforce noImplicitAny #5605

Merged
merged 4 commits into from
Sep 23, 2021
Merged

Conversation

Josh-Cena
Copy link
Collaborator

Motivation

Fixed quite a few implicit anys. There are temporary patches, though, because I'm not entirely sure whether the type incompatibility was due to an uncaught API change or just because we are using an outdated package (I do notice @ts-expect-error in multiple places in core though)

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

CI

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Sep 22, 2021
@netlify
Copy link

netlify bot commented Sep 22, 2021

✔️ [V2]
Built without sensitive environment variables

🔨 Explore the source changes: 051d853

🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/614b3aae0c1e7700087f1ae7

😎 Browse the preview: https://deploy-preview-5605--docusaurus-2.netlify.app

@github-actions
Copy link

github-actions bot commented Sep 22, 2021

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 84
🟢 Accessibility 98
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 95

Lighthouse ran on https://deploy-preview-5605--docusaurus-2.netlify.app/

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
@slorber slorber added the pr: maintenance This PR does not produce any behavior differences to end users when upgrading. label Sep 23, 2021
@slorber
Copy link
Collaborator

slorber commented Sep 23, 2021

Thanks, LGTM 👍

Maybe we could avoid the comment for errors? but this is good enough to merge

@slorber slorber merged commit 452f85b into facebook:main Sep 23, 2021
@Josh-Cena Josh-Cena deleted the strict-type branch September 23, 2021 13:26
@Josh-Cena
Copy link
Collaborator Author

We should definitely figure out why there's type inconsistencies, and maybe downgrade our typing packages / upgrade our webpack plugin dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: maintenance This PR does not produce any behavior differences to end users when upgrading.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants