I've installed jquery and @types/jquery. I want to use jquery.Deferred() but when i try to use it I get error that "$.Deferred is not a function".
import * as $ from "jquery";u// somewhere in codelet dfd = $.Deferred< { response: JQueryXHR; body?: any }, { response: JQueryXHR; errorThrown: string }>();
It is from code that was generated by https://github.com/OpenAPITools/openapi-generator for typescript. I'm using it in React Native app. Any suggestions?Thanks!