Azure / azure-iot-sdk-node

A Node.js SDK for connecting devices to Microsoft Azure IoT services
https://docs.microsoft.com/en-us/azure/iot-hub/
Other
261 stars 227 forks source link

Samples in TypeScript #1039

Closed danhellem closed 3 years ago

danhellem commented 3 years ago

Checklist

Reference/Link to the issue solved with this PR (if any)

Description of the problem

Need examples in TypeScript

Description of the solution

  1. created samples/javascript directory
  2. created samples/typescript directory
  3. moved existing javascript files to javascript directory
  4. copied some of the .js samples and converted them into .ts files. Updated coded.
  5. Updated readme.md files to match new structure

I will be added more ts files, but wanted to get something out into the main repo before the PR got too large