Starting with Smartface 6.15.2 release, developers will be able to implement their projects on TypeScript.
TypeScript is a superset of JavaScript which primarily provides optional static typing, classes and interfaces. One of the big benefits is to enable IDEs to provide a richer environment for spotting common errors as you type the code.
You can find more information at: https://www.typescriptlang.org/​
Since TypeScript is a compiled language, developers will be able to overcome common problems much easier and collaborations will be easier since the functions, variables etc. will be type safe. More information at: https://www.typescriptlang.org/docs​
Since every module is compiled, developer will find their missing imports automatically.
With TypeScript intelliSense, developers will be able to observe every available property at ref.smartface.io.
When something is wrong, the compiler will warn developer on the spot.
Together with intelliSense, developers will be able to access written documentation on every property available at ref.smartface.io.
Since TypeScript generates JavaScript code into dist directory, this folder should be pushed to the remote repository, therefore, it is required to remove the folder from .gitignore on release branch.
For ease of collaboration, it is highly recommended to publish on specific branch ( master or development ) and edit .gitignore on there only.