Use typescript with Babel 7 Standalone
04:35 08 Mar 2019

I would like to use babel-standalone (https://babeljs.io/docs/en/next/babel-standalone.html) with typescript.

I tried:

const output = Babel.transform(input, { presets: ['typescript'] }).code;

And: