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

Change typings to always return null instead of undefined #73

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

screendriver
Copy link
Contributor

Currently the typings are wrong. All functions are returning null but the type definitions define them as undefined which leads to compile time and/or ESLint errors when you want to explicitly check for null.

@LitoMore

This comment was marked as outdated.

@Qix-

This comment was marked as outdated.

@LitoMore

This comment was marked as outdated.

@Qix- Qix- merged commit cab7111 into Qix-:master Feb 14, 2025
3 checks passed
@Qix-
Copy link
Owner

Qix- commented Feb 14, 2025

Thanks! Released as 2.0.1 :)

@screendriver
Copy link
Contributor Author

Great 👍

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.

3 participants