Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

bno1
Copy link
Contributor

@bno1 bno1 commented Sep 26, 2021

Summary

Some boolean attributes are incorrectly parsed using if (node.attribute.name) or !!node.attribute.name which always return true for non-empty strings. Boolean attributes can be strings with the value "true" or "false",

Test plan

Related to source code (for typings update)

Copy link
Member

@Siemienik Siemienik left a comment

Choose a reason for hiding this comment

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

Thank you, it makes sense and also LGTM :)

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