Interface represents an interface for an object received as parameter by Node class constructor.

interface AtRuleProps {
    name: string;
    nodes?: (ChildProps | ChildNode)[];
    params?: string | number;
    raws?: AtRuleRaws;
    source?: Source;
}

Hierarchy (view full)

Properties

name: string

Name of the at-rule.

nodes?: (ChildProps | ChildNode)[]
params?: string | number

Parameters following the name of the at-rule.

raws?: AtRuleRaws

Information used to generate byte-to-byte equal node string as it was in the origin input.

source?: Source