0
votes

How to use TypeScript for Mobile Services scripts (with node.js backend)?

Is there a definition file for Mobile Services? (on the server, not on the client!)

And how about the tooling? Sure, I can open the scripts in Visual Studio 2013 via the Azure node in the Server Explorer, but than they are not part of a Visual Studio solution. How to add a definition file via NuGet in that case?

2

2 Answers

1
votes

If you enable source control on your mobile service, you can upload your scripts via git. This would enable a workflow where you write your scripts in TS, run the compiler to output JS, and you commit the generated js files to your repository and push them to the server.

Unfortunately I do not have any advice regarding tooling support.