Type alias InverseRecord<M>

InverseRecord<M>: {
    [K in M[keyof M]]: RecordKeyFromValue<M, K>
}

Inverses a record type, "flipping a record"

Type Parameters

  • M extends Record<string | number | symbol, string | number | symbol>

Generated using TypeDoc