Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

189
Views
'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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!