Skip to content

make if truthy strictNullCheck compliant #17

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

Merged

Conversation

Junkyards3
Copy link

No change to the actual behavior, but allows the TypeScript compiler to recognize that the type of values after ifTruthy is not null or undefined

@Junkyards3 Junkyards3 force-pushed the feature/strict-null-check-if-truthy branch from 76d510f to d27138a Compare June 10, 2025 13:22
@thomasnisole thomasnisole merged commit dc4d70c into paddls:master Jun 10, 2025
4 checks passed
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