Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

190
Vistas
'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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda