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