Skip to content

Conversation

@trusktr
Copy link
Member

@trusktr trusktr commented Oct 2, 2024

make type checking stricter by enabling noImplicitOverride and noUncheckedIndexedAccess tsconfig options.

BREAKING: This may cause some type errors and code will need to be adjusted. In many cases the fixes are simple: prepend override to class members affected by noImplicitOverride, or add a non-null assertion (!) on expressions affected by noUncheckedIndexedAccess if not a better conditional check.

…eckedIndexedAccess tsconfig options.

BREAKING: This may cause some type errors and code will need to be
adjusted. In many cases the fixes are simple: prepend "override" to
class members affected by noImplicitOverride, or add a non-null
assertion (`!`) on expressions affected by noUncheckedIndexedAccess if
not a better conditional check.
@trusktr trusktr merged commit 73550ca into main Oct 2, 2024
@trusktr trusktr deleted the stricter-type-checking branch October 2, 2024 20:59
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