Skip to content

make if truthy strictNullCheck compliant#17

Merged
thomasnisole merged 1 commit intopaddls:masterfrom
Junkyards3:feature/strict-null-check-if-truthy
Jun 10, 2025
Merged

make if truthy strictNullCheck compliant#17
thomasnisole merged 1 commit intopaddls:masterfrom
Junkyards3:feature/strict-null-check-if-truthy

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