Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

148
Visualizações
Getting warning from VSCode when using CharAt with Vuejs

While trying to pick out the first character of a computed property I used charAt() function on it, but I am getting a little warning from VSCode that it is a wrong usage, although it is working.

computed: { ...mapGetters({ firstname: 'user/firstname', lastname: 'user/lastname', }), initials () { return (this.firstname.charAt(0).toUpperCase() + this.lastname.charAt(0).toUpperCase()); } },

Property 'charAt' does not exist on type 'Computed'.Vetur(2339) - This is the warning I get. Could not find much on this over the web

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

This is a warning caused by vetur.validation.interpolation which validate interpolations in region using TypeScript language service.

Setting vetur.experimental.templateInterpolationService: false in your settings.json file will solved this issue for you.

enter image description here

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda