es-stl - v3.0.2
    Preparing search index...

    Type Alias KeyValue<K, V>

    KeyValue: Record<K, V>

    Record keyed by numbers or strings.

    Type Parameters

    • K extends NumOrStr = NumOrStr

      Key type used by the record.

    • V = any

      Value type stored by the record.

    const scores: KeyValue<string, number> = { ada: 10, grace: 20 };