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

[TypeScript] Fix some strict null checks errors in core #9644

Merged
merged 2 commits into from
Feb 6, 2024
Merged

Conversation

fzaninotto
Copy link
Member

@fzaninotto fzaninotto commented Feb 5, 2024

Fixes the following TS compilation errors when enabling strickNullChecks:

     3  src/auth/useGetIdentity.ts:51
     2  src/auth/useHandleAuthCallback.ts:15
     1  src/core/useResourceDefinitions.ts:24
     1  src/dataProvider/fetch.ts:103
     1  src/form/useUnique.ts:109

In master, this reduces the number of strict null check errors from 246 to 238.

Refs #9622

@fzaninotto fzaninotto changed the title [TypeScript] Fix strict null checks in auth hooks [TypeScript] Fix some strict null checks errors in core Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants