Skip to content

API reference / @localizer/translate / SplitStructurePartial

Type Alias: SplitStructurePartial<K, V>
experimental

SplitStructurePartial<K, V> = Partial<Record<K, V>>

Defined in: types/dictionary.ts:88

Represents a partial structure where keys are of type K and values are of type V. This type is a utility that creates a partial mapping of keys to values, allowing some or all keys to be omitted.

Type Parameters

Type ParameterDescription
K extends stringA string literal type representing the keys of the structure.
VThe type of the values associated with the keys.