You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It may very well be that I'm doing something wrong, in which case I'd suggest to maybe add some examples on how to call the generated code (either in a comment of the generated code, or in a separate example).
The text was updated successfully, but these errors were encountered:
Description
I was not able to use the typescript-jquery bindings in vscode or compile a simple application using them.
The generated code looks like:
While my new-to-the-topic opinion is that it should look more like:
Given that the signature of the generated method is:
Not sure about the
reject
part, but both the compiler and intellisense are happier.Swagger-codegen version
2.3.1 and 2.4.0-20180627.132127-273
Using
jquery
3.1.1, with@types/jquery
3.3.4Command line used for generation
swagger-codegen generate -l typescript-jquery -i ... -o ...
Note
It may very well be that I'm doing something wrong, in which case I'd suggest to maybe add some examples on how to call the generated code (either in a comment of the generated code, or in a separate example).
The text was updated successfully, but these errors were encountered: