3dmol / 3Dmol.js

WebGL accelerated JavaScript molecular graphics library
https://3dmol.org/
Other
794 stars 194 forks source link

[Chore] - `suppressImplicitAnyIndexErrors` is deprecated and will stop functioning in TS 5.5 #693

Open adithyaakrishna opened 1 year ago

adithyaakrishna commented 1 year ago

Describe the bug

Option 'suppressImplicitAnyIndexErrors' is deprecated and will stop functioning in TypeScript 5.5

To Reproduce

Expected behavior

Fix

Screenshots

If applicable, add screenshots to help explain your problem. Screenshot 2023-06-20 at 3 50 00 PM

Please close your issue when you feel it has been adequately resolved

dkoes commented 1 year ago

How many cases of implicit indexing are there and can we fix them by strengthening the types?

adithyaakrishna commented 1 year ago

Yes, we can. I am not exactly sure about how many are there, but I will make a list of them and work on fixing them

adithyaakrishna commented 1 year ago

According to the cli while running webpack build, we seem to have 696 issues wrt to the any type image