Open AlisCode opened 6 months ago
EnumMap is a crate that exposes an exhaustive hashmap equivalent (backed by an array)
EnumMap
The binding to TS would give a Record<K, V>, as opposed to a HashMap<K,V> which is typebound to a Partial<Record<K, V>>.
Record<K, V>
HashMap<K,V>
Partial<Record<K, V>>
EnumMap
is a crate that exposes an exhaustive hashmap equivalent (backed by an array)The binding to TS would give a
Record<K, V>
, as opposed to aHashMap<K,V>
which is typebound to aPartial<Record<K, V>>
.