The library to compile the TypeScript to JavaScript. This library contains a File System, to watch the changes to the *.ts file in a directory called "ts/", and compile it to the JavaScript after any change inside it.
The TypeScript is only available for Mac, the Linux and Windows version are coming. If you have it, please contact me at my email: grych@tg.pl.
The package can be installed by adding typescript
to your list of dependencies in mix.exs
:
def deps do
[
{:typescript, "~> 0.2.2"}
]
end
Install the node, npm and npx:
brew install node
Install the tsc globally:
npm install -g typescript
Documentation can be generated with ExDoc and published on HexDocs. The docs can be found at https://hexdocs.pm/typescript.
(c)2025 Tomasz "Grych" Gryszkiewicz, grych@tg.pl