Skip to content

Function: defineMessages

src/core/util/l10n.defineMessages

defineMessages<K, T, U>(msgs): U

Type parameters

NameType
Kextends string | number | symbol
TMessageDescriptor
Uextends Record<K, T> = Record<K, T>

Parameters

NameType
msgsU

Returns

U

Powered by TypeDoc & VitePress.