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

Migrate to TS strict mode 2/n #2469

Merged
merged 5 commits into from
Jun 20, 2022
Merged

Conversation

thegreatercurve
Copy link
Contributor

@thegreatercurve thegreatercurve commented Jun 17, 2022

Writing these as smaller PRs as some of these types fixes involve changing business logic. This PR reduces the number of TS errors from 300 to 129.

To test TS strict mode, enable the strict flag in tsconfig.build.json and then run tsc -p tsconfig.build.json

#2469

@vercel
Copy link

vercel bot commented Jun 17, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
lexical ✅ Ready (Inspect) Visit Preview Jun 17, 2022 at 11:32PM (UTC)
lexical-playground ✅ Ready (Inspect) Visit Preview Jun 17, 2022 at 11:32PM (UTC)

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 17, 2022
@thegreatercurve thegreatercurve merged commit 30ad13b into main Jun 20, 2022
@thegreatercurve thegreatercurve deleted the feature/ts-strict-mode-2 branch June 20, 2022 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants