MetaMask / MetaMask/core

Enable `noUncheckedIndexedAccess` TypeScript flag everywhere

Open
#4,729 0 comments 0 reactions 0 assignees View on GitHub
team-wallet-framework wf-typescript-upgrades
Dominant language
TypeScript
Stars
413
Forks
308
Avg merge
1d 4h
Merged PRs (30d)
253

Description

We should ensure that the [`noUncheckedIndexedAccess`](https://www.typescriptlang.org/tsconfig/#noUncheckedIndexedAccess) TypeScript flag is enabled in every `tsconfig` in the monorepo. For past work and more context, see #554 and https://github.com/MetaMask/metamask-module-template/pull/84.

Contributor guide

No contributing guide indexed for this repository

Research direction

Find every tsconfig in the monorepo and compare the current settings with the noUncheckedIndexedAccess requirement. Read issue #554 and the linked metamask-module-template pull request for prior context, then enable the flag in all applicable configurations and verify that the TypeScript checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.