Skip to content

Converted another ~70 test files to strictNullChecks#65672

Merged
mjbvz merged 2 commits intomicrosoft:masterfrom
JoshuaKGoldberg:strict-null-checks-auto-2
Dec 28, 2018
Merged

Converted another ~70 test files to strictNullChecks#65672
mjbvz merged 2 commits intomicrosoft:masterfrom
JoshuaKGoldberg:strict-null-checks-auto-2

Conversation

@JoshuaKGoldberg
Copy link
Contributor

@JoshuaKGoldberg JoshuaKGoldberg commented Dec 25, 2018

These are the remaining test files in #65233 that didn't require any changes to non-test file types. I'll send those in separately.

Most changes were automatic and small (!s).
The only non-trival change is that extHostSearch.ts needs an interface for its test data.

Again used TypeStat when possible per #65581. I'm happy to split this up into smaller PRs if you'd prefer!

Edit: Build is failing on files I didn't touch for parts that don't interact with my changes 😕. Very confusing. Does anybody know why?

Josh Goldberg added 2 commits December 25, 2018 14:23
These are the remaining test files that didn't require any changes to non-test file types. I'll send those in separately.

Most changes were automatic and small (`!`s).
The only non-trival change is that `extHostSearch.ts` needs an interface for its test data.

Again used [TypeStat](https://github.com/JoshuaKGoldberg/TypeStat) when possible per #65581. I'm happy to split this up into smaller PRs if you'd prefer!
@mjbvz
Copy link
Collaborator

mjbvz commented Dec 28, 2018

Thanks!

Those test files include files that are not yet strict null checked. The test file changes look good to me but I think we need to hold off on adding them to the strictNull.tsconfig until all of their imports are handled.

I'm going to merge and then revert the changes to only the tsconfing

@mjbvz mjbvz merged commit 373b441 into microsoft:master Dec 28, 2018
mjbvz added a commit that referenced this pull request Dec 28, 2018
See #65672

Not all of these files only import strict null check eligible files
@JoshuaKGoldberg JoshuaKGoldberg deleted the strict-null-checks-auto-2 branch December 28, 2018 01:14
@github-actions github-actions bot locked and limited conversation to collaborators Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants