Reminist - v1.0.6
    Preparing search index...

    Type Alias NodeParams<Data, Endpoint, Path>

    NodeParams: { name: Path } & (
        Endpoint extends true
            ? { endpoint: true; store: Data }
            : { endpoint: false; store?: never }
    )

    Parameters for initializing a Node.

    Type Parameters

    • Data

      The type of data stored in the node.

    • Endpoint extends boolean

      Whether this node represents a terminal route.

    • Path extends string

      The string literal type of the path segment.