KC's Workspace
    Preparing search index...

    Interface DeclarationBlock<D>

    A CSS declaration block.

    Properties are separated into a list of !important declararations, and a list of normal declarations. This reduces memory usage compared with storing a boolean along with each property.

    interface DeclarationBlock<D = Declaration> {
        declarations?: D[];
        importantDeclarations?: D[];
    }

    Type Parameters

    Index

    Properties

    declarations?: D[]

    A list of normal declarations in the block.

    importantDeclarations?: D[]

    A list of !important declarations in the block.