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 TypeScript in Strict mode #170

Closed
kutyel opened this issue May 8, 2020 · 3 comments · Fixed by #185
Closed

Support TypeScript in Strict mode #170

kutyel opened this issue May 8, 2020 · 3 comments · Fixed by #185

Comments

@kutyel
Copy link
Owner

kutyel commented May 8, 2020

Right now there are quite a few type errors (especially regarding predicate functions) if you enable the strict mode of TypeScript, the goal is to fix all those to make the library more type-safe.

{
  "strict": true
}

Since this is a breaking change, fixing this issue will provoke the release of a v2.0.0 version.

@kutyel kutyel added this to the 2.0 milestone Jun 1, 2020
@kutyel kutyel changed the title Improve code to turn on Typescript's "Strict" mode Support TypeScript in Strict mode Jun 17, 2020
Repository owner deleted a comment from rustycoslett Feb 11, 2022
Repository owner deleted a comment from TheCleric Feb 11, 2022
@maxime-aubry
Copy link

Hello.
Will the version 2.0 available soon ?
I am stuck on my project because i am using strict mode.
Thanks.

@kutyel
Copy link
Owner Author

kutyel commented Jul 31, 2024

Contributions are welcome, I still maintain the lib but TBH supporting strict mode requires quite a bit of changes 😟

kutyel added a commit that referenced this issue Aug 1, 2024
BREAKING CHANGE: ToDictionary() and all *OrDefault() functions now behave differently

fix #170
@kutyel kutyel closed this as completed in ab21580 Aug 1, 2024
Copy link

github-actions bot commented Aug 1, 2024

🎉 This issue has been resolved in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants