Sample Elm script (.ts)
Elm is a language that compiles to JavaScript.
Here is the file type (wrongfully recognised as C++):
$ file sample.elm
sample.elm: ASCII text
You can compile the file online in the Online Editor:
Sample Elm file: download here.
More information on Elm
Tags: javascript text programming