We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bemhint says that this object is correct, but actually it is invalid ('elem' field expected):
( { mustDeps: { elems: [{ }] } } )
The text was updated successfully, but these errors were encountered:
Why? All is totally fine with your sample.
In your case using elems is the same as using elem.
There is difference between elem and elems for chunks with block property like:
({ block: 'another-block', [prop]: ['elem1', 'elem2', ...] })
With 'elem' it will be resolved to:
'elem'
([ {block: 'another-block', elem: 'elem1'}, {block: 'another-block', elem: 'elem2'} ])
With 'elems' to:
'elems'
([ {block: 'another-block'} {block: 'another-block', elem: 'elem1'}, {block: 'another-block', elem: 'elem2'} ])
So the difference in requiring block chunk itself.
Sorry, something went wrong.
Ah, I just get that looks like it should report this one:
[{ mustDeps: { elem: [{ … }] // elem can be only {string|string[]}, not {object[]} } }]
And the initial case is also actual. My bad.
No branches or pull requests
Bemhint says that this object is correct, but actually it is invalid ('elem' field expected):
The text was updated successfully, but these errors were encountered: