TypeScript
Edit and run TypeScript with type syntax stripped in the sandbox.
The TypeScript editor opens .ts text files with syntax highlighting, search,
history, line wrapping, and code folding.
Run and stop
Section titled “Run and stop”Run strips the TypeScript-only syntax (type annotations, interfaces, and the
like) and executes the resulting JavaScript in the same sandboxed runner used
for .js files. Console output streams into the panel below the editor, and
Run becomes Stop while it executes.
What it does not do
Section titled “What it does not do”Worktray does not run a type checker. Stripping types is not the same as
verifying them, so code can run here even when a separate tsc check would
report a type error. Treat successful execution as “it ran”, not “it type-checks”.
The runner has no DOM and cannot access Worktray’s origin, localStorage, or
IndexedDB — see the JavaScript editor for the full
sandbox description.