Skip to content

vue-i18n / general / MessageFunction

Type Alias: MessageFunction<T>

ts
type MessageFunction<T> = MessageFunctionCallable | MessageFunctionInternal<T>;

Vue I18n General

The Message Function.

Type Parameters

Type ParameterDefault type
Tstring

Param

A MessageContext

Returns

A resolved format message, that is string type basically.

Released under the MIT License.