You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the code debt
We currently have suppressImplicitAnyIndexErrors in our tsconfig.json since we have a lot of implicit any types scattered throughout our code. That option will be going away in Typescript 5.5, so we'll need to turn suppressImplicitAnyIndexErrors off, see where these errors are occurring in our code, and fix them. Typescript says the fix is to "Add an index signature to the relevant type (or use a type assertion at the indexing location)."
To Fix
Steps to fix this:
Remove "suppressImplicitAnyIndexErrors": true, from tsconfig.json
Run make
See what Typescript complains about
Fix each error location individually
The text was updated successfully, but these errors were encountered:
Describe the code debt
We currently have
suppressImplicitAnyIndexErrors
in our tsconfig.json since we have a lot of implicitany
types scattered throughout our code. That option will be going away in Typescript 5.5, so we'll need to turnsuppressImplicitAnyIndexErrors
off, see where these errors are occurring in our code, and fix them. Typescript says the fix is to "Add an index signature to the relevant type (or use a type assertion at the indexing location)."To Fix
Steps to fix this:
"suppressImplicitAnyIndexErrors": true
, from tsconfig.jsonmake
The text was updated successfully, but these errors were encountered: