thingworx-field-work / ThingworxVSCodeProject

Develop thingworx models using a real IDE
MIT License
33 stars 17 forks source link

Use ES6 variable declaration and Typescript type consistently in examples #18

Closed carlo-quinonez closed 3 years ago

carlo-quinonez commented 3 years ago

Just some went through the examples and readme. I specified that you need Node v14, not just any LTS version. We were using LTS: Erbium (12.22) and were getting errors about the nullish coalescing operator (??). Using Node v14+ fixed this problem.

carlo-quinonez commented 3 years ago

@BogdanMihaiciuc What do you think?

BogdanMihaiciuc commented 3 years ago

Looks good and I'll merge one of these days. I will also keep some examples where the thingworx type names are used to show that these are an alternative.