title: Parameter 'locale' implicitly has an 'any' type
body: <p>Using i18n, I'm translating a project in Vue3 with typescript. I just need the change locale button to work for me to finish, but I don't know how to do that, it keeps giving the question title error. Does anyone know how to solve?
  Below my code:</p>
  <pre><code>&lt;template&gt;
     &lt;div&gt; 
         &lt;span @click=&quot;changeLocale('pt-br')&quot; class=&quot;flag-icon flag-icon-br m-2&quot;&gt;&lt;/span&gt;
         &lt;span @click=&quot;changeLocale('en-uw')&quot; class=&quot;flag-icon flag-icon-us m-2&quot;&gt;&lt;/span&gt;
         &lt;span @click=&quot;changeLocale('es-es')&quot; class=&quot;flag-icon flag-icon-es m-2&quot;&gt;&lt;/span&gt;
     &lt;/div&gt;
  &lt;/template&gt;
  
  &lt;script setup lang = &quot;ts&quot;&gt;
  
  export default {
     methods: {
         changeLocale(locale){
             this.$root.$i18n.locale = locale;
         }
     }
  }
  &lt;/script&gt;
  
  &lt;style scoped&gt;
  
  .m-2{
     margin: 2px;
  } 
  
  &lt;/style&gt;
  </code></pre>