Skip to content

Conversation

@jasonlyu123
Copy link
Member

return this.isNodeStartsWithObjectLiteral(node.condition);
}

return node
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we have this fallback? Or we can just return false here. And fix it later if someone actually brings up the case I can't think of now.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fallback here looks reasonable, so I think we can leave it like this

return this.isNodeStartsWithObjectLiteral(node.condition);
}

return node
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fallback here looks reasonable, so I think we can leave it like this

@jasonlyu123 jasonlyu123 merged commit 21015f7 into sveltejs:master Sep 5, 2021
@jasonlyu123 jasonlyu123 deleted the reactive-declare-nested-object branch September 5, 2021 04:38
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