what is a .ts file javascript?
TypeScript is an open-source programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript and adds optional static typing to the language. ... This enables other programs to use the values defined in the files as if they were statically typed TypeScript entities.