Skip to content

Conversation

utkuufuk
Copy link
Member

@utkuufuk utkuufuk commented Aug 22, 2025

noUncheckedIndexedAccess flag ensures that accessing elements in arrays or objects doesn't result in undefined or null, preventing a certain class of runtime errors. Without it, developers might overlook potential null or undefined values, leading to unexpected behaviors.

I "properly" fixed existing errors that were obvious and easy to fix. I used ! or the @ts-expect-error directive for others to avoid spending too much time on this.

The main idea is to avoid creating more problems in the future as the compiler will now start warning us.

Copy link

changeset-bot bot commented Aug 22, 2025

⚠️ No Changeset found

Latest commit: 4a5f1cb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

argos-ci bot commented Aug 22, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2 (Inspect) 👍 Changes approved 2 changed Aug 26, 2025, 4:17 PM
v2-cloudflare (Inspect) ✅ No changes detected - Aug 26, 2025, 4:25 PM
v2-vercel (Inspect) 👍 Changes approved 1 changed Aug 26, 2025, 4:19 PM

@utkuufuk utkuufuk merged commit 10ded43 into main Aug 26, 2025
16 checks passed
@utkuufuk utkuufuk deleted the utku/tsconfig-no-unchecked-indexed-access branch August 26, 2025 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants