Member Junction
    Preparing search index...

    Custom type definition for complex objects (similar to TypeScript interfaces). Enables lint-time validation of object literals passed as component props.

    interface ComponentTypeDefinition {
        allowedValues?: (string | number | boolean)[];
        description?: string;
        extends?: string;
        properties: Record<string, ComponentTypeProperty>;
    }
    Index

    Properties

    allowedValues?: (string | number | boolean)[]

    For union/enum types, the allowed values (e.g., ["asc", "desc"])

    description?: string

    Human-readable description of this type

    extends?: string

    Base type to extend from (enables type inheritance/extension)

    properties: Record<string, ComponentTypeProperty>

    Properties that make up this type (key = property name, value = property definition)