commercelayer/app-elements

Set the `noUncheckedIndexedAccess` property to `true` in the `tsconfig.json`

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe

No response

Describe the solution you'd like

We should set the noUncheckedIndexedAccess property to true in the tsconfig.json. This property will add undefined to a type when accessed using an index.

See more: https://www.typescriptlang.org/tsconfig#noUncheckedIndexedAccess

Describe alternatives you've considered

No response

Are you able to assist to bring the feature to reality?

yes, I can

Additional context

No response