I understand what issue you're talking about. But here again, the problem is not with noUncheckedIndexedAccess, but with index signatures. If you explicitly annotate all keys, there won't be such an error. Here is the same playground but this explicit keys.
In my article, I repeatedly mentioned that the index signature is a bad thing 😁
We're a place where coders share, stay up-to-date and grow their careers.
Oh, I see.
I understand what issue you're talking about. But here again, the problem is not with
noUncheckedIndexedAccess, but with index signatures. If you explicitly annotate all keys, there won't be such an error. Here is the same playground but this explicit keys.In my article, I repeatedly mentioned that the index signature is a bad thing 😁