-
-
Notifications
You must be signed in to change notification settings - Fork 38
typescript transpiler
The typescript transpiler convert your code to javascript using tsc
and then it run it with node. This can be used to develop standalone typescript applications (which doesn't mean you should, but some times it's useful).
By using a .solution.toml
file, you can pass custom arguments to tsc
if you want. But if you are already using a tsconfig.json
to pass the arguments to tsc
, make sure you set arguments = ""
in your .solution.toml
file because the arguments will prevail over anything you set on the tsconfig.json
file.
Defining output
on .solution.toml
is not normally necessary on interpreted languages to be able to use to use the compiler option Build solution
, but typescript is special in that sense, because it requires to be transpiled. So it is necessary on this case: You can find a example here.