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
Similar to the AnyNode type, there should be an AnyContainer type that allows you to narrow it to a specific type of container.
AnyNode
AnyContainer
The definition would probably look something like:
type AnyContainer = (AtRule|Rule|Root|Document)&Container<AnyNode>
The text was updated successfully, but these errors were encountered:
Why Container doesn’t work for this?
Container
AtRule, Rule, etc was inherited from Container.
AtRule
Rule
Sorry, something went wrong.
No branches or pull requests
Similar to the
AnyNode
type, there should be anAnyContainer
type that allows you to narrow it to a specific type of container.The definition would probably look something like:
The text was updated successfully, but these errors were encountered: