setDictionaryItemsconstant

setDictionaryItems: <T>(dict: MutableDictionary<T>, entries: PossibleDictionary<T>) => void

Set several named items on a dictionary object (by reference).

Examples

setDictionaryItems(dict, { a: 1, b: 2 });