Function: defineMessages
src/core/util/l10n.defineMessages
defineMessages<K
, T
, U
>(msgs
): U
Type parameters
Name | Type |
---|---|
K | extends string | number | symbol |
T | MessageDescriptor |
U | extends Record <K , T > = Record <K , T > |
Parameters
Name | Type |
---|---|
msgs | U |
Returns
U