typescript compiler browser code example Example: typerscript online compiler Try this one: https://www.typescriptlang.org/play/