In modern web-projects that use RESTful API\'s we often see AJAX-calls like the one below littered around our JavaScript-files.
$.ajax({
type: \"POST\",
I'm working on the Swagger open-source toolchain NSwag for .NET: With this tool you can generate the TypeScript client for a single or multiple Web API controllers.
In the UI just
JQueryCallbacks
or JQueryPromises
template)Have a look at http://nswag.org
FYI: TypeScript is a language which gets transpiled to JavaScript