Well, TS needs to be transpiled to JS before running anyways.
You can always distribute its JS output, which is not very diff. from the original TS file:
Alternatively you can host your TS sketches on CodePen.io, which offers pre-processors for many transpiled languages, including TS:
Blog.CodePen.io/2015/05/20/now-supporting-typescript/
Blog.CodePen.io/documentation/file-processing-projects/
1 Like