Property ‘api’ does not exist on type ‘MyService’. any

I am following a tutorial on which we create an Angular service for sending emails from a form using Mailthis Email API. In the service code I get an error on the ‘api’ word that says " Property ‘api’ does not exist on type ‘MyService’ ". Any advice will be very helpfull! My code is: […]

Ng –version shows an error on a devlopment package

When I clone a repo, I get an error on a development package. Any advice on how to solve this will be very helpfull. Source: Angular Questions

I get this error TS2554: Expected 3-4 arguments, but got 5

I am using gsap plugin to create a text animation. In the last line of code of my function ‘animation_text_1’, where it says "TweenMax.staggerFromTo(…..)", I get this error: error TS2554: Expected 3-4 arguments, but got 5 Here is my code: document.addEventListener("DOMContentLoaded", function(event) { animation_text_1("#text-anim"); }); function animation_text_1 (element:any){ let i:any; var newText = ""; var […]

By Luis Alejandro L pez de Anda
Published
Categorized as angular, gsap, html, javascript Tagged , , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq