Skip to content

Commit

Permalink
Allow suppressImplicitAnyIndexErrors config in TS
Browse files Browse the repository at this point in the history
The suppressImplicitAnyIndexErrors config is deprecated in Typescript
5.0 and above, and will be removed in Typescript 5.5. For now, we can
still use it by setting "ignoreDeprecations": "5.0", but we'll need to
go through our JS code and switch to individual @ts-ignore lines at
every occurrence of implicit "any" before we can update to TS 5.5.
  • Loading branch information
rmunn committed Apr 30, 2024
1 parent 3566868 commit 797c098
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"downlevelIteration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"ignoreDeprecations": "5.0",
"importHelpers": true,
"lib": ["es7", "dom"],
"module": "es6",
Expand Down

0 comments on commit 797c098

Please sign in to comment.