Open yarastqt opened 6 years ago
right now modifier could be a string
or true
let's make it string
or boolean
https://github.com/bem/bem-sdk/blob/master/packages/entity-name/types/globals.d.ts#L10
Let's don't because it's entity-name and can't contain false
val for modifier because of that.
What you talking about is value of modifier inside bemjson-node.mods container. Bet we need BemjsonNodeMods interface.
As a quick hack you can pull request a patch with interface declaration based on current type. Feel free to implement it!
ModifierValue must be string or boolean