Skip to content

Commit

Permalink
Fix eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
angrykoala committed Jul 20, 2022
1 parent 5e3d8bb commit 90ee4b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function createConnectionWherePropertyOperation({
delete nestedProperties._on;

if (
Object.keys(value).length === 1 &&
Object.keys(value as Record<string, any>).length === 1 &&
value._on &&
!Object.prototype.hasOwnProperty.call(value._on, node.name)
) {
Expand Down

0 comments on commit 90ee4b9

Please sign in to comment.