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

fix: restore check for undefined any types #1585

Merged
merged 1 commit into from
Apr 6, 2023
Merged

Conversation

booc0mtaco
Copy link
Contributor

Summary:

  • fix up places that were relying on that rule
  • do this now, as a future version of TS will ignore this override and start breaking everything

Test Plan:

  • Wrote automated tests
  • CI tests / new tests are not applicable
  • Manually tested my changes, but I want to keep the details secret
  • Manually tested my changes, and here are the details:
    • make sure all tests pass

@booc0mtaco booc0mtaco requested a review from a team April 5, 2023 23:28
@github-actions
Copy link

github-actions bot commented Apr 5, 2023

size-limit report 📦

Path Size
components 118.89 KB (-0.02% 🔽)
styles 3.12 KB (0%)

- fix up places that were relying on that rule
- do this now, as a future version of TS will ignore this override
  and start breaking everything
- also fix up some associated recipes (Filter)
@booc0mtaco booc0mtaco force-pushed the aholloway/EFI-1018 branch from a6ec05e to 76a92b7 Compare April 5, 2023 23:33
@codecov
Copy link

codecov bot commented Apr 5, 2023

Codecov Report

Merging #1585 (76a92b7) into next (2857ae4) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             next    #1585      +/-   ##
==========================================
- Coverage   91.70%   91.69%   -0.01%     
==========================================
  Files         279      279              
  Lines        4292     4288       -4     
  Branches      786      784       -2     
==========================================
- Hits         3936     3932       -4     
- Misses        330      354      +24     
+ Partials       26        2      -24     
Impacted Files Coverage Δ
src/components/Icon/Icon.stories.tsx 100.00% <ø> (ø)
...c/components/TimelineNavPanel/TimelineNavPanel.tsx 100.00% <ø> (ø)
src/components/Heading/Heading.tsx 94.73% <100.00%> (-0.92%) ⬇️

... and 11 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

| 'h3'
| 'h4'
| 'h5'
| /** @deprecated */ 'h6';
Copy link

@ghost ghost Apr 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:o are <h6> not recommended anymore? I don't think I've ever actually used an <h6> just wondering where this is coming from?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeremiah-clothier that one is a little weird... we have a runtime check to prevent its usage here but not sure why

Copy link
Contributor

@jinlee93 jinlee93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing, looks good pending an explanation comment on the tsconfig option

@@ -14,7 +14,6 @@
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"suppressImplicitAnyIndexErrors": true,
Copy link
Contributor Author

@booc0mtaco booc0mtaco Apr 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(documentation) - we were mass ignoring places where any was set by TS

Similar to this: TypeStrong/ts-loader#1559

@booc0mtaco booc0mtaco merged commit c7fae07 into next Apr 6, 2023
@booc0mtaco booc0mtaco deleted the aholloway/EFI-1018 branch April 6, 2023 17:40
@booc0mtaco booc0mtaco mentioned this pull request Apr 17, 2023
booc0mtaco added a commit that referenced this pull request Apr 17, 2023
## [12.0.0](v11.1.1...v12.0.0) (2023-04-17)


### ⚠ BREAKING CHANGES

* use rollup (#1555)

### Features

* export some subcomponents ([#1579](#1579)) ([2857ae4](2857ae4))
* **TextareaField:** add character length counter ([#1580](#1580)) ([ff6226f](ff6226f))


### Bug Fixes

* restore check for undefined any types ([#1585](#1585)) ([c7fae07](c7fae07))
* **Skeleton:** mark .Rect as deprecated ([#1586](#1586)) ([405f81b](405f81b))
* sync typography presets to documentation ([#1592](#1592)) ([b56eadb](b56eadb))
* **typography:** add missing eds-font-size-20 ([#1591](#1591)) ([de5dd03](de5dd03))


### build

* use rollup ([#1555](#1555)) ([d794696](d794696)), closes [#1558](#1558) [#1572](#1572) [#1581](#1581) [#1582](#1582)
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