-
Notifications
You must be signed in to change notification settings - Fork 370
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
refactor: [M3-8244] - Remove suppressImplicitAnyIndexErrors
and ignoreDeprecations
Typescript Options
#10755
Conversation
…rors-typescript-option
…eprecations` Typescript Options
Coverage Report: ❌ |
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.
Barely scratched surface, but I'm going to pull things down and do broader review in a bit.
country as keyof typeof COUNTRY_FLAG_OVERRIDES | ||
]; | ||
} | ||
return country; |
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.
🔥
const options = generateSelectOptions(); | ||
|
||
return options[label] || { unit: 'min', vlaue: 30 }; | ||
}; |
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.
Was removing this intentional or did we just move it somewhere else?
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.
This was intentional. The types didn't make any sense (it will need to be rewritten for it to work) and the code was unused.
…rors-typescript-option
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.
Type checks passed ✅
No type errors observed locally ✅
No app crashes or broken functionality observed locally ✅
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.
Looks good
Description 📝
Does what it takes to remove
suppressImplicitAnyIndexErrors
andignoreDeprecations
from ourtsconfig.json
🔧Why ❓
How to test 🧪
As an Author I have considered 🤔