-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Comply with TypeScript strict mode #2709
Comments
@balazsorban44 Happy to work on it - However I want to split in multiple PRs, so it's smaller changes. |
sounds good, I could suggest setting |
Yes please 🙏 I work with Strict, always strict, and strict null check flags set to true This would be greatly appreciated |
Working on it. 🙂 |
I pinged the PR creator to fix the conflicts just now #2802 (comment) |
#2802 has been merged now, anything left here? |
@Thisen, @sldavidson could you test |
@balazsorban44 so this fixed an issue I was having with the credentials provider throwing a type error for username and password keys, but now it's throwing a type error for the jwt key of the session option. |
that's expected, renamed for clarity |
Good catch, just updated the docs! |
It didn't work for me. Also, it looks like the first argument is required for |
no it isn't and was supposed to be fixed in 419ffe7 and it looks good still Line 87 in 35ee608
line 26: https://unpkg.com/browse/[email protected]/react/index.d.ts |
Hi there! It looks like this issue hasn't had any activity for a while. It will be closed if no further activity occurs. If you think your issue is still relevant, feel free to comment on it to keep it open. (Read more at #912) Thanks! |
Hi there! It looks like this issue hasn't had any activity for a while. To keep things tidy, I am going to close this issue for now. If you think your issue is still relevant, just leave a comment and I will reopen it. (Read more at #912) Thanks! |
#2701 unfortunately is still a thing (but was closed in favor for this one, which then went stale for some reason). |
I'm still getting this same issue as well. |
Really waiting for this because of the VkProvider |
I'm having the same problem with #2701 |
Yes #2701 still an error |
The issue still exists. Going with the strict: false for now gives even more errors. |
I encounter the same error, turn off the strict mode in tsconfig.json still shows type error, I ignore it temporarily. |
does anyone have a fix for this? im also getting this error. |
Still getting the same error as well, is there a way we can reopen this? |
This fixes issues for me in the
Note that
line is custom to your project! |
#2552 introduced TypeScript to the core. A long-time wish from the community, and the maintainers.
For an easier migration, I decided to go with
"strict": false
, and we still allow ".js" files.As an improvement, we should make set
"strict": true
in ourtsconfig.json
and fix the remaining issues, and convert the rest of the files to TypeScript as well.The text was updated successfully, but these errors were encountered: