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

fix(isNil): Accept generic type for inversion type extraction #90

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

Harris-Miller
Copy link
Collaborator

Full explanation here: https://tsplay.dev/wXgXVW

@GerkinDev
Copy link
Contributor

Yes indeed, it seems logical to me for isNil to be a generic, to narrow the parameter type to the nil types of the actual value

@Harris-Miller Harris-Miller merged commit dbacd7a into develop Jan 31, 2024
3 checks passed
@Harris-Miller Harris-Miller deleted the isNil-fix branch January 31, 2024 03:43
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