The NativeScript manual states that TypeScript (.ts) files are automatically compiled to JavaScript during project build.
However, in my Angular + TypeScript mobile application, I have observed that the compilation of .ts files to .js files does not always work correctly. There are instances where the updated .ts files do not reflect changes in the corresponding .js files, resulting in errors that need to be manually resolved. Is there a command available to forcefully compile .ts files to .js files?
My setup includes Windows 10, Android, and NativeScript version 3.4.1.
Update: Shortly after posting this question, I discovered that using 'tsc [filename]' compiles the relevant .ts file to its corresponding .js file. However, I am encountering several errors which require further investigation.