Enable this option in tsconfig:
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-1.html#checked-indexed-accesses---nouncheckedindexedaccess
And fix all new compiler errors that might pop up because of that