pond-ts API Reference (core)
    Preparing search index...

    Type Alias KeyColumnForKind<K>

    KeyColumnForKind: K extends "time"
        ? TimeKeyColumn
        : K extends "timeRange"
            ? TimeRangeKeyColumn
            : K extends "interval" ? IntervalKeyColumn : never

    Public key-column class for a single first-column kind. Distributes over its naked type parameter, so a broad union like 'time' | 'timeRange' | 'interval' produces the matching union of key-column classes rather than collapsing to never.

    Type Parameters

    • K extends "time" | "timeRange" | "interval"