Skip to content

Conversation

@orklah
Copy link
Collaborator

@orklah orklah commented Nov 30, 2022

This will fix #8719

We were creating an non-empty-array based on the fact that there were sealed properties without actually checking if they could be undefined

@danog could you review that? Not sure if it was the best move here

@danog
Copy link
Collaborator

danog commented Dec 1, 2022

LGTM!
The logic seems correct to me, even if I would've used a simple ! instead of !== true for readability :)

@orklah orklah added the release:fix The PR will be included in 'Fixes' section of the release notes label Dec 1, 2022
@orklah orklah merged commit b4aa951 into vimeo:master Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:fix The PR will be included in 'Fixes' section of the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Psalm incorrectly identifying array as non-empty-array

2 participants