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

193
Visualizações
'this' implicitly has type 'any' because it does not have a type annotation angular

I'm trying to use the party-js lib in order to get the confetti effect working in a angular project. However when using following code i get an error saying that this has type any. I tried using ':' and adding a type after but then i don't know what type I have to put after since it doesn't change the error and also gives me another one saying, that I now have 3 instead of 2 arguments.

document.querySelector(".button")!.addEventListener("click", function (e) { 
party.confetti(this:);
});
about 4 years ago · Juan Pablo Isaza
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