I have installed jquery and imported it properly.
Somewhere in my app, I have a line as below,
$('#myCarousel').carousel("next");
When I do npm start
, it throws below error
Property 'carousel' does not exist on type 'JQuery'.
in Typescript if do $('#myCarousel').
, ** it shows appropriate **intellisense but this method is not listed.
If I comment that error generating line, do npm start
everything works and then if I uncomment that line and refresh it, it will work.
Its a typescript compiling error. How to resolve it????