I am developing a typescript project. When I call "$" editor says "Value of type 'JqueryStatic' is not callable.". I installed jquery.definetelyTyped package and I also referenced jquery.d.ts file.
Resharper 9.0 does not support the new union types which have just arrived in TypeScript, and which have appeared in jquery.d.ts in the last few releases.
Resharper 9.1 supports Typescript unions, so it fixes this.
If you can't update, do this in your nuget console:
uninstall-package jquery.TypeScript.DefinitelyTyped -force
install-package jquery.TypeScript.DefinitelyTyped -version 2.1.4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With