Search Posts

Category: ng2-bootstrap

jquery : Subsequent variable declarations must have the same type. Variable ‘jQuery’ must be of type ‘any’, but here has type ‘JQueryStatic’

I installed ng2-fullcalendar calendar in my angualar project. But am getting an error in, path/node_modules/@types/jquery/index.d.ts error message is Subsequent variable declarations must have the same type. Variable ‘jQuery’ must be of type ‘any’, but here has type ‘JQueryStatic’. declare module “jquery” { export = $; } declare var jQuery: JQueryStatic; declare var $: JQueryStatic; When I changed “JQueryStatic” to “any” it works. Since the change is in node_modules directory I cannot make the change for […]