Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: enable record undefined checks #66

Merged
merged 1 commit into from
Dec 20, 2023
Merged

refactor: enable record undefined checks #66

merged 1 commit into from
Dec 20, 2023

Conversation

ComradeVanti
Copy link
Collaborator

The noUncheckedIndexedAccess flag in tsconfig is not enabled by default when using strict: true, so it was not enabled until now. Enabled it for safer value access from records and fixed resulting warnings.

The "noUncheckedIndexedAccess" flag is not enabled by default when using "strict: true", so it was not enabled until now. Enabled it for safer access and fixed resulting warnings.
@favoyang favoyang merged commit 4cbcd8d into openupm:master Dec 20, 2023
2 checks passed
@ComradeVanti ComradeVanti deleted the safe-record-access branch December 20, 2023 15:58
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