-
Notifications
You must be signed in to change notification settings - Fork 272
chore: clean up a couple of TypeScript warnings #754
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/superset/superset-ui/7s82h4so4 |
Codecov Report
@@ Coverage Diff @@
## master #754 +/- ##
=======================================
Coverage 24.43% 24.43%
=======================================
Files 334 334
Lines 7652 7652
Branches 937 938 +1
=======================================
Hits 1870 1870
Misses 5708 5708
Partials 74 74
Continue to review full report at Codecov.
|
openInNewWindow: boolean; | ||
showFormula: boolean; | ||
showType: boolean; | ||
metric: Metric; |
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.
Just merged in that other pr in case it affects this one.
@@ -51,11 +51,12 @@ function colorFromBounds( | |||
|
|||
// @ts-ignore | |||
return colorScale(value); | |||
// eslint-disable-next-line no-else-return |
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.
Honestly, I kind of prefer reading "else" statements... seems more logical to me. ¯\_(ツ)_/¯
Appreciate all this cleanup work nonetheless! ✨
🏠 Internal
Clean up a couple of TypeScript warnings and @ts-ignore directives.
cc @pkdotson @etr2460 @kristw