Interface: I18nMessages
说明
本页由源码中的注释生成,内容为英文。
The application's message keys and their arguments, declared by the application to type-check I18n.t and the translators: a wrong key or a missing argument is then a compilation error. lakutata i18n types (or generateMessageTypes) generates the declaration from the messages of the default language, or it is written by hand, in the module the application imports the i18n from:
declare module 'lakutata/com/i18n' {
interface I18nMessages {
'order.count': { count: number }
}
}
Empty by default: any key and any arguments are then accepted.