-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
size-limit report 📦
|
- 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)
a6ec05e
to
76a92b7
Compare
Codecov Report
@@ 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
... 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'; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this 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, |
There was a problem hiding this comment.
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
## [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)
Summary:
Test Plan: