import{boot}from'quasar/wrappers';import{createI18n}from'vue-i18n';importmessagesfrom'src/i18n';exporttypeMessageLanguages=keyoftypeofmessages;// Type-define 'en-US' as the master schema for the resourceexporttypeMessageSchema=typeofmessages['en-US'];// See https://vue-i18n.intlify.dev/guide/advanced/typescript.html#global-resource-schema-type-definition/* eslint-disable @typescript-eslint/no-empty-interface */declaremodule'vue-i18n'{// define the locale messages schemaexportinterfaceDefineLocaleMessageextendsMessageSchema{}// define the datetime format schemaexportinterfaceDefineDateTimeFormat{}// define the number format schemaexportinterfaceDefineNumberFormat{}}/* eslint-enable @typescript-eslint/no-empty-interface */exportdefaultboot(({app})=>{consti18n=createI18n({locale:'en-US',legacy:false,messages,});// Set i18n instance on appapp.use(i18n);});