useI18n globaly in ts file ?
message-compiler.esm-bundler.js:54 Uncaught (in promise) SyntaxError: Must be called at the top of a `setup` function (at message-compiler.esm-bundler.js:54:19)
at createCompileError (message-compiler.esm-bundler.js:54:19)
at createI18nError (vue-i18n.esm-bundler.js:100:12)
at useI18n (vue-i18n.esm-bundler.js:2214:15)
at addMessage (usePlayOptions.ts:59:19)
at Proxy.replacePlay (usePlayOptions.ts:178:5)
solution found here : https://github.com/intlify/vue-i18n-next/issues/904