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

Support noUncheckedIndexedAccess tsconfig option #161

Closed

Conversation

Santalov
Copy link

Related to #154
Tsonfig option noUncheckedIndexedAccess is enabled in all tests.

Added non-null assertion operator (!) when accessing elements of #one_of_decls, methods of the RPC service, and when returning cases[case] in oneof method.

Tests were also adjusted.

Santalov added 10 commits July 29, 2022 11:20
Removed RecursivePartial<T>, instead introduced AsObjectPartial, which is used as fromObject method argument. Make getters, setters and AsObject typed according to canHaveNullValue predicate. Brought AsObjectPartial into line with constructor's declaration.
Change method access in RPC from property access to element access.
Add non-null assertion operators in places where an indexed access occurs.
@thesayyn
Copy link
Owner

thesayyn commented Sep 1, 2023

Closing as there's been no activity on this.

@thesayyn thesayyn closed this Sep 1, 2023
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